summaryrefslogtreecommitdiffstats
path: root/test/option-q.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-q.py')
-rw-r--r--test/option-q.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/option-q.py b/test/option-q.py
index 41197c4..3cceab2 100644
--- a/test/option-q.py
+++ b/test/option-q.py
@@ -10,15 +10,11 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '-q')
+test.run(arguments = '-q',
+ stderr = "Warning: the -q option is not yet implemented\n")
-test.fail_test(test.stderr() !=
- "Warning: the -q option is not yet implemented\n")
-
-test.run(arguments = '--question')
-
-test.fail_test(test.stderr() !=
- "Warning: the --question option is not yet implemented\n")
+test.run(arguments = '--question',
+ stderr = "Warning: the --question option is not yet implemented\n")
test.pass_test()