summaryrefslogtreecommitdiff
path: root/test/option--R.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 +0000
committerSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 +0000
commite88681240924e70ec12abaf3664290a69db6dcfd (patch)
tree136311c7b231f8d467156a9ae4a9d53428f364fc /test/option--R.py
parentfcd916513a1ad10e13479d4d604f239f7ea45c73 (diff)
downloadscons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz
Add more information error reporting from tests.
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 8676b5ca..db7815b9 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()