Show More
@@ -849,15 +849,9 b' def runone(options, test):' | |||||
849 | def ignore(msg): |
|
849 | def ignore(msg): | |
850 | result('i', (test, msg)) |
|
850 | result('i', (test, msg)) | |
851 |
|
851 | |||
852 | if (os.path.basename(test).startswith("test-") and '~' not in test and |
|
852 | if not os.path.exists(test): | |
853 | ('.' not in test or test.endswith('.py') or |
|
|||
854 | test.endswith('.bat') or test.endswith('.t'))): |
|
|||
855 | if not os.path.exists(test): |
|
|||
856 | skip("doesn't exist") |
|
853 | skip("doesn't exist") | |
857 | return None |
|
854 | return None | |
858 | else: |
|
|||
859 | vlog('# Test file', test, 'not supported, ignoring') |
|
|||
860 | return None # not a supported test, don't record |
|
|||
861 |
|
855 | |||
862 | if not (options.whitelisted and test in options.whitelisted): |
|
856 | if not (options.whitelisted and test in options.whitelisted): | |
863 | if options.blacklist and test in options.blacklist: |
|
857 | if options.blacklist and test in options.blacklist: | |
@@ -910,7 +904,7 b' def runone(options, test):' | |||||
910 | lctest = test.lower() |
|
904 | lctest = test.lower() | |
911 |
|
905 | |||
912 | for ext, func, out in testtypes: |
|
906 | for ext, func, out in testtypes: | |
913 | if lctest.endswith(ext): |
|
907 | if lctest.startswith("test-") and lctest.endswith(ext): | |
914 | runner = func |
|
908 | runner = func | |
915 | ref = os.path.join(TESTDIR, test + out) |
|
909 | ref = os.path.join(TESTDIR, test + out) | |
916 | break |
|
910 | break |
General Comments 0
You need to be logged in to leave comments.
Login now