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