Show More
@@ -717,7 +717,7 b' def runone(options, test):' | |||||
717 | def ignore(msg): |
|
717 | def ignore(msg): | |
718 | result('i', (test, msg)) |
|
718 | result('i', (test, msg)) | |
719 |
|
719 | |||
720 | if (test.startswith("test-") and '~' not in test and |
|
720 | if (os.path.basename(test).startswith("test-") and '~' not in test and | |
721 | ('.' not in test or test.endswith('.py') or |
|
721 | ('.' not in test or test.endswith('.py') or | |
722 | test.endswith('.bat') or test.endswith('.t'))): |
|
722 | test.endswith('.bat') or test.endswith('.t'))): | |
723 | if not os.path.exists(test): |
|
723 | if not os.path.exists(test): | |
@@ -796,7 +796,7 b' def runone(options, test):' | |||||
796 |
|
796 | |||
797 | # Make a tmp subdirectory to work in |
|
797 | # Make a tmp subdirectory to work in | |
798 | testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ |
|
798 | testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ | |
799 | os.path.join(HGTMP, test) |
|
799 | os.path.join(HGTMP, os.path.basename(test)) | |
800 |
|
800 | |||
801 | os.mkdir(testtmp) |
|
801 | os.mkdir(testtmp) | |
802 | ret, out = runner(testpath, testtmp, options, [ |
|
802 | ret, out = runner(testpath, testtmp, options, [ |
General Comments 0
You need to be logged in to leave comments.
Login now