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/SConstruct.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/SConstruct.py')
-rw-r--r-- | test/SConstruct.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/SConstruct.py b/test/SConstruct.py index aa92ffc..8b586d2 100644 --- a/test/SConstruct.py +++ b/test/SConstruct.py @@ -13,26 +13,20 @@ import os print "sconstruct", os.getcwd() """) -test.run(chdir = '.') - -test.fail_test(test.stdout() != ("sconstruct %s\n" % wpath)) +test.run(stdout = "sconstruct %s\n" % wpath) test.write('Sconstruct', """ import os print "Sconstruct", os.getcwd() """) -test.run(chdir = '.') - -test.fail_test(test.stdout() != ("Sconstruct %s\n" % wpath)) +test.run(stdout = "Sconstruct %s\n" % wpath) test.write('SConstruct', """ import os print "SConstruct", os.getcwd() """) -test.run(chdir = '.') - -test.fail_test(test.stdout() != ("SConstruct %s\n" % wpath)) +test.run(stdout = "SConstruct %s\n" % wpath) test.pass_test() |