summaryrefslogtreecommitdiff
path: root/test/option-f.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-12-01 13:06:29 +0000
committerSteven Knight <knight@baldmt.com>2003-12-01 13:06:29 +0000
commit1449e5067298043a8cd9b26a9030f5909cfb00fb (patch)
tree6f7aaa5f6e05039884cb82deafa9a4f99b3682a7 /test/option-f.py
parent04e36a29829d2fde6fe82af08bd1b5259ed7a7b9 (diff)
downloadscons-1449e5067298043a8cd9b26a9030f5909cfb00fb.tar.gz
Make the message about missing SConscript files a warning, not a hard write(), so it can be ignored/disabled. (Scott Fritchie)
Diffstat (limited to 'test/option-f.py')
-rw-r--r--test/option-f.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/option-f.py b/test/option-f.py
index 2001a06b..3c8dcee8 100644
--- a/test/option-f.py
+++ b/test/option-f.py
@@ -86,6 +86,10 @@ print "STDIN " + os.getcwd()
test.run(arguments = '-f no_such_file .',
stdout = test.wrap_stdout("scons: `.' is up to date.\n"),
- stderr = "Ignoring missing SConscript 'no_such_file'\n")
+ stderr = None)
+test.fail_test(not test.match_re(test.stderr(), """
+scons: warning: Ignoring missing SConscript 'no_such_file'
+File "\S+", line \d+, in .*
+"""))
test.pass_test()