mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 518056: better error message for nonexistent js shell argument in trace-tests.py, r=graydon
This commit is contained in:
parent
611fbb67d5
commit
72c8946af6
@ -316,4 +316,11 @@ if __name__ == '__main__':
|
|||||||
call(cmd)
|
call(cmd)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
run_tests(test_list, test_dir, lib_dir)
|
try:
|
||||||
|
run_tests(test_list, test_dir, lib_dir)
|
||||||
|
except OSError:
|
||||||
|
if not os.path.exists(JS):
|
||||||
|
print >> sys.stderr, "JS shell argument: file does not exist: '%s'"%JS
|
||||||
|
sys.exit(1)
|
||||||
|
else:
|
||||||
|
raise
|
||||||
|
Loading…
Reference in New Issue
Block a user