##// END OF EJS Templates
run-tests: take the basepath when constructing the test temp dir...
Idan Kamara -
r14264:8e009060 default
parent child Browse files
Show More
@@ -717,7 +717,7 b' def runone(options, test):'
717 717 def ignore(msg):
718 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 721 ('.' not in test or test.endswith('.py') or
722 722 test.endswith('.bat') or test.endswith('.t'))):
723 723 if not os.path.exists(test):
@@ -796,7 +796,7 b' def runone(options, test):'
796 796
797 797 # Make a tmp subdirectory to work in
798 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 801 os.mkdir(testtmp)
802 802 ret, out = runner(testpath, testtmp, options, [
General Comments 0
You need to be logged in to leave comments. Login now