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