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