diff options
author | Steven Knight <knight@baldmt.com> | 2003-06-18 18:35:59 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-06-18 18:35:59 (GMT) |
commit | 311058e447522c96a320b81bc8beaca41112c006 (patch) | |
tree | e4c8fae81af049dcb0319f978b24bb28d12df714 /test/SourceSignatures.py | |
parent | b61917920644e58ab48cad87dabc19f9db6f0a64 (diff) | |
download | SCons-311058e447522c96a320b81bc8beaca41112c006.zip SCons-311058e447522c96a320b81bc8beaca41112c006.tar.gz SCons-311058e447522c96a320b81bc8beaca41112c006.tar.bz2 |
Change the double quotes around an up-to-date target to be like Make.
Diffstat (limited to 'test/SourceSignatures.py')
-rw-r--r-- | test/SourceSignatures.py | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/test/SourceSignatures.py b/test/SourceSignatures.py index 979003a..26a389e 100644 --- a/test/SourceSignatures.py +++ b/test/SourceSignatures.py @@ -54,9 +54,9 @@ test.run(arguments = 'f1.out f3.out') test.run(arguments = 'f1.out f2.out f3.out f4.out', stdout = test.wrap_stdout("""\ -scons: "f1.out" is up to date. +scons: `f1.out' is up to date. build("f2.out", "f2.in") -scons: "f3.out" is up to date. +scons: `f3.out' is up to date. build("f4.out", "f4.in") """)) @@ -70,9 +70,9 @@ os.utime(test.workpath('f3.in'), test.run(arguments = 'f1.out f2.out f3.out f4.out', stdout = test.wrap_stdout("""\ build("f1.out", "f1.in") -scons: "f2.out" is up to date. +scons: `f2.out' is up to date. build("f3.out", "f3.in") -scons: "f4.out" is up to date. +scons: `f4.out' is up to date. """)) test.write('SConstruct', """ @@ -97,9 +97,9 @@ test.run(arguments = 'f1.out f3.out') test.run(arguments = 'f1.out f2.out f3.out f4.out', stdout = test.wrap_stdout("""\ -scons: "f1.out" is up to date. +scons: `f1.out' is up to date. build("f2.out", "f2.in") -scons: "f3.out" is up to date. +scons: `f3.out' is up to date. build("f4.out", "f4.in") """)) @@ -110,8 +110,7 @@ os.utime(test.workpath('f3.in'), (os.path.getatime(test.workpath('f3.in')), os.path.getmtime(test.workpath('f3.in'))+10)) -test.run(arguments = 'f1.out f2.out f3.out f4.out', - stdout = test.wrap_stdout('scons: "f1.out" is up to date.\nscons: "f2.out" is up to date.\nscons: "f3.out" is up to date.\nscons: "f4.out" is up to date.\n')) +test.up_to_date(arguments = 'f1.out f2.out f3.out f4.out') test.write('SConstruct', """ def build(env, target, source): @@ -124,13 +123,7 @@ env.B(target = 'f3.out', source = 'f3.in') env.B(target = 'f4.out', source = 'f4.in') """) -test.run(arguments = 'f1.out f2.out f3.out f4.out', - stdout = test.wrap_stdout("""\ -scons: "f1.out" is up to date. -scons: "f2.out" is up to date. -scons: "f3.out" is up to date. -scons: "f4.out" is up to date. -""")) +test.up_to_date(arguments = 'f1.out f2.out f3.out f4.out') test.pass_test() |