diff options
author | Steven Knight <knight@baldmt.com> | 2002-01-23 22:59:58 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-01-23 22:59:58 (GMT) |
commit | 315a82d5e0154f6ed33b6848c454c3df61460ea1 (patch) | |
tree | 276a3173660b7626ea7dd446a9aba014a81f2afa /test/build-errors.py | |
parent | 1f0c49dc905310ce09cc790ba2d2b438d07fd846 (diff) | |
download | SCons-315a82d5e0154f6ed33b6848c454c3df61460ea1.zip SCons-315a82d5e0154f6ed33b6848c454c3df61460ea1.tar.gz SCons-315a82d5e0154f6ed33b6848c454c3df61460ea1.tar.bz2 |
Provide a traceback if a Python-function builder throws an exception (Crain).
Diffstat (limited to 'test/build-errors.py')
-rw-r--r-- | test/build-errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/build-errors.py b/test/build-errors.py index 8545642..edd06b1 100644 --- a/test/build-errors.py +++ b/test/build-errors.py @@ -90,7 +90,7 @@ test.description_set("Incorrect STDERR:\n%s\n" % test.stderr()) if os.name == 'nt': errs = [ bad_command, - unrecognized % (no_such_file, 'f2'), + unrecognized % (not_executable, 'f2'), unspecified % 'f2' ] test.fail_test(not test.stderr() in errs) @@ -113,7 +113,7 @@ test.description_set("Incorrect STDERR:\n%s\n" % test.stderr()) if os.name == 'nt': errs = [ bad_command, - unrecognized % (no_such_file, 'f3'), + unrecognized % (test.workdir, 'f3'), unspecified % 'f3' ] test.fail_test(not test.stderr() in errs) |