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