summaryrefslogtreecommitdiffstats
path: root/test/option--random.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--random.py')
-rw-r--r--test/option--random.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/option--random.py b/test/option--random.py
index 584c54d..12f88bc 100644
--- a/test/option--random.py
+++ b/test/option--random.py
@@ -10,10 +10,8 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '--random')
-
-test.fail_test(test.stderr() !=
- "Warning: the --random option is not yet implemented\n")
+test.run(arguments = '--random',
+ stderr = "Warning: the --random option is not yet implemented\n")
test.pass_test()