diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-16 04:22:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-16 04:22:19 (GMT) |
commit | e88681240924e70ec12abaf3664290a69db6dcfd (patch) | |
tree | 136311c7b231f8d467156a9ae4a9d53428f364fc /test/option--.py | |
parent | fcd916513a1ad10e13479d4d604f239f7ea45c73 (diff) | |
download | SCons-e88681240924e70ec12abaf3664290a69db6dcfd.zip SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.bz2 |
Add more information error reporting from tests.
Diffstat (limited to 'test/option--.py')
-rw-r--r-- | test/option--.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/option--.py b/test/option--.py index f1f4f23..1529c46 100644 --- a/test/option--.py +++ b/test/option--.py @@ -26,10 +26,7 @@ env.MyBuild(target = '-f2.out', source = 'f2.in') expect = "python build.py -f1.out\npython build.py -f2.out\n" -test.run(arguments = '-- -f1.out -f2.out') - -test.fail_test(test.stdout() != expect) -test.fail_test(test.stderr() != "") +test.run(arguments = '-- -f1.out -f2.out', stdout = expect) test.fail_test(not os.path.exists(test.workpath('-f1.out'))) test.fail_test(not os.path.exists(test.workpath('-f2.out'))) |