Closed Bug 518056 Opened 16 years ago Closed 16 years ago

TM: trace-test.py gives unhelpful error message if non-existent shell is specified

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: n.nethercote, Assigned: dmandelin)

Details

Attachments

(1 file)

An example: > python trace-test/trace-test.py no_such_file Traceback (most recent call last): File "trace-test/trace-test.py", line 296, in <module> run_tests(test_list, test_dir, lib_dir) File "trace-test/trace-test.py", line 148, in run_tests ok, out, err = run_test(test, lib_dir) File "trace-test/trace-test.py", line 109, in run_test p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=close_fds, env=env) File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory It's not high priority, but would be nice -- I just hit this and it took a couple of minutes of head-scratching to work out what was wrong.
Attached patch PatchSplinter Review
Assignee: general → dmandelin
Status: NEW → ASSIGNED
Attachment #402137 - Flags: review?
Attachment #402137 - Flags: review? → review?(graydon)
Attachment #402137 - Flags: review?(graydon) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: