Show More
@@ -582,6 +582,10 b' class Test(object):' | |||||
582 | shutil.rmtree(self._threadtmp, True) |
|
582 | shutil.rmtree(self._threadtmp, True) | |
583 |
|
583 | |||
584 | def run(self, result): |
|
584 | def run(self, result): | |
|
585 | if not os.path.exists(self._path): | |||
|
586 | result.skipped = True | |||
|
587 | return self.skip("Doesn't exist") | |||
|
588 | ||||
585 | # Remove any previous output files. |
|
589 | # Remove any previous output files. | |
586 | if os.path.exists(self._errpath): |
|
590 | if os.path.exists(self._errpath): | |
587 | os.remove(self._errpath) |
|
591 | os.remove(self._errpath) | |
@@ -1112,9 +1116,6 b' def runone(options, test, count):' | |||||
1112 | err = os.path.join(TESTDIR, test + ".err") |
|
1116 | err = os.path.join(TESTDIR, test + ".err") | |
1113 | lctest = test.lower() |
|
1117 | lctest = test.lower() | |
1114 |
|
1118 | |||
1115 | if not os.path.exists(testpath): |
|
|||
1116 | return skip("doesn't exist") |
|
|||
1117 |
|
||||
1118 | if not (options.whitelisted and test in options.whitelisted): |
|
1119 | if not (options.whitelisted and test in options.whitelisted): | |
1119 | if options.blacklist and test in options.blacklist: |
|
1120 | if options.blacklist and test in options.blacklist: | |
1120 | return skip("blacklisted") |
|
1121 | return skip("blacklisted") |
General Comments 0
You need to be logged in to leave comments.
Login now