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