Show More
@@ -346,7 +346,9 b' def run_one(test, skips, fails):' | |||
|
346 | 346 | if os.name == 'nt': |
|
347 | 347 | return skip("shell script") |
|
348 | 348 | # do not try to run non-executable programs |
|
349 |
if not os. |
|
|
349 | if not os.path.exists(testpath): | |
|
350 | return fail("does not exist") | |
|
351 | elif not os.access(testpath, os.X_OK): | |
|
350 | 352 | return skip("not executable") |
|
351 | 353 | cmd = '"%s"' % testpath |
|
352 | 354 |
General Comments 0
You need to be logged in to leave comments.
Login now