summaryrefslogtreecommitdiffstats
path: root/test/option--npd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--npd.py')
-rw-r--r--test/option--npd.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/option--npd.py b/test/option--npd.py
index e210e1b..02c4d19 100644
--- a/test/option--npd.py
+++ b/test/option--npd.py
@@ -10,10 +10,8 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '--no-print-directory')
-
-test.fail_test(test.stderr() !=
- "Warning: the --no-print-directory option is not yet implemented\n")
+test.run(arguments = '--no-print-directory',
+ stderr = "Warning: the --no-print-directory option is not yet implemented\n")
test.pass_test()