diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-23 08:12:11 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-23 08:12:11 (GMT) |
commit | e891e39fcc8671d7a5ad2073e866d85ad9c9e362 (patch) | |
tree | 4f55b4289e3c4abe3cbc5f9cece674db33b611e0 /test | |
parent | 35fa4fb9b7914a860b985bc306f50e1b25dc6361 (diff) | |
download | SCons-e891e39fcc8671d7a5ad2073e866d85ad9c9e362.zip SCons-e891e39fcc8671d7a5ad2073e866d85ad9c9e362.tar.gz SCons-e891e39fcc8671d7a5ad2073e866d85ad9c9e362.tar.bz2 |
Make building source files fail like Make.
Diffstat (limited to 'test')
-rw-r--r-- | test/SideEffect.py | 1 | ||||
-rw-r--r-- | test/preserve-source.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/SideEffect.py b/test/SideEffect.py index 6e37420..6337f68 100644 --- a/test/SideEffect.py +++ b/test/SideEffect.py @@ -70,6 +70,7 @@ test.write('bar.in', 'bar.in 2 \n') test.run(arguments = 'log.txt', stdout=test.wrap_stdout("""\ copy() < bar.in > bar.out copy() < blat.in > blat.out +scons: Nothing to be done for `log.txt'. """)) expect = """\ diff --git a/test/preserve-source.py b/test/preserve-source.py index b0acdaa..5eddeec 100644 --- a/test/preserve-source.py +++ b/test/preserve-source.py @@ -53,7 +53,8 @@ test.run(arguments = '.') test.fail_test(test.read('aaa.out') != "aaa.in\n") # -test.run(arguments = "aaa.in", stdout = test.wrap_stdout("")) +test.run(arguments = "aaa.in", + stdout = test.wrap_stdout("scons: Nothing to be done for `aaa.in'.\n")) test.fail_test(not os.path.exists('aaa.in')) |