diff options
author | Steven Knight <knight@baldmt.com> | 2003-12-01 13:06:29 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-12-01 13:06:29 +0000 |
commit | 1449e5067298043a8cd9b26a9030f5909cfb00fb (patch) | |
tree | 6f7aaa5f6e05039884cb82deafa9a4f99b3682a7 /test/option-f.py | |
parent | 04e36a29829d2fde6fe82af08bd1b5259ed7a7b9 (diff) | |
download | scons-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.py | 6 |
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() |