summaryrefslogtreecommitdiff
path: root/test/option--max-drift.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-06-18 18:35:59 +0000
committerSteven Knight <knight@baldmt.com>2003-06-18 18:35:59 +0000
commit311058e447522c96a320b81bc8beaca41112c006 (patch)
treee4c8fae81af049dcb0319f978b24bb28d12df714 /test/option--max-drift.py
parentb61917920644e58ab48cad87dabc19f9db6f0a64 (diff)
downloadscons-311058e447522c96a320b81bc8beaca41112c006.tar.gz
Change the double quotes around an up-to-date target to be like Make.
Diffstat (limited to 'test/option--max-drift.py')
-rw-r--r--test/option--max-drift.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/test/option--max-drift.py b/test/option--max-drift.py
index 3b90b681..255b3b13 100644
--- a/test/option--max-drift.py
+++ b/test/option--max-drift.py
@@ -60,32 +60,24 @@ test.run(arguments = 'f1.out')
test.run(arguments = 'f1.out f2.out',
stdout = test.wrap_stdout(
-"""scons: "f1.out" is up to date.
+"""scons: `f1.out' is up to date.
%s build.py f2.out f2.in
""" % python))
atime = os.path.getatime(test.workpath('f1.in'))
mtime = os.path.getmtime(test.workpath('f1.in'))
-test.run(arguments = '--max-drift=0 f1.out f2.out',
- stdout = test.wrap_stdout(
-"""scons: "f1.out" is up to date.
-scons: "f2.out" is up to date.
-"""))
+test.up_to_date(options='--max-drift=0', arguments='f1.out f2.out')
test.write('f1.in', "f1.in delta\n")
os.utime(test.workpath('f1.in'), (atime,mtime))
-test.run(arguments = '--max-drift=0 f1.out f2.out',
- stdout = test.wrap_stdout(
-"""scons: "f1.out" is up to date.
-scons: "f2.out" is up to date.
-"""))
+test.up_to_date(options='--max-drift=0', arguments='f1.out f2.out')
test.run(arguments = '--max-drift=-1 f1.out f2.out',
stdout = test.wrap_stdout(
"""%s build.py f1.out f1.in
-scons: "f2.out" is up to date.
+scons: `f2.out' is up to date.
""" % python))
# Test that Set/GetOption('max_drift') works: