Show More
@@ -605,6 +605,9 b' class Test(object):' | |||
|
605 | 605 | else: |
|
606 | 606 | return self.ignore("doesn't match keyword") |
|
607 | 607 | |
|
608 | if not os.path.basename(self._test.lower()).startswith('test-'): | |
|
609 | return self.skip('not a test file') | |
|
610 | ||
|
608 | 611 | # Remove any previous output files. |
|
609 | 612 | if os.path.exists(self._errpath): |
|
610 | 613 | os.remove(self._errpath) |
@@ -1135,8 +1138,6 b' def runone(options, test, count):' | |||
|
1135 | 1138 | err = os.path.join(TESTDIR, test + ".err") |
|
1136 | 1139 | lctest = test.lower() |
|
1137 | 1140 | |
|
1138 | if not os.path.basename(lctest).startswith("test-"): | |
|
1139 | return skip("not a test file") | |
|
1140 | 1141 | for ext, cls, out in testtypes: |
|
1141 | 1142 | if lctest.endswith(ext): |
|
1142 | 1143 | runner = cls |
General Comments 0
You need to be logged in to leave comments.
Login now