summaryrefslogtreecommitdiffstats
path: root/test/option--S.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 (GMT)
commite88681240924e70ec12abaf3664290a69db6dcfd (patch)
tree136311c7b231f8d467156a9ae4a9d53428f364fc /test/option--S.py
parentfcd916513a1ad10e13479d4d604f239f7ea45c73 (diff)
downloadSCons-e88681240924e70ec12abaf3664290a69db6dcfd.zip
SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz
SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.bz2
Add more information error reporting from tests.
Diffstat (limited to 'test/option--S.py')
-rw-r--r--test/option--S.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/test/option--S.py b/test/option--S.py
index fd3f50f..c7b04d6 100644
--- a/test/option--S.py
+++ b/test/option--S.py
@@ -10,20 +10,12 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '-S')
+test.run(arguments = '-S', stderr = "Warning: ignoring -S option\n")
-test.fail_test(test.stderr() !=
- "Warning: ignoring -S option\n")
+test.run(arguments = '--no-keep-going',
+ stderr = "Warning: ignoring --no-keep-going option\n")
-test.run(arguments = '--no-keep-going')
-
-test.fail_test(test.stderr() !=
- "Warning: ignoring --no-keep-going option\n")
-
-test.run(arguments = '--stop')
-
-test.fail_test(test.stderr() !=
- "Warning: ignoring --stop option\n")
+test.run(arguments = '--stop', stderr = "Warning: ignoring --stop option\n")
test.pass_test()