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