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