##// END OF EJS Templates
run-tests: remove some unnecessary globals
Matt Mackall -
r19252:9e9c407e default
parent child Browse files
Show More
@@ -836,8 +836,6 b' def run(cmd, wd, options, replacements):'
836 def runone(options, test):
836 def runone(options, test):
837 '''returns a result element: (code, test, msg)'''
837 '''returns a result element: (code, test, msg)'''
838
838
839 global iolock
840
841 def skip(msg):
839 def skip(msg):
842 if options.verbose:
840 if options.verbose:
843 log("\nSkipping %s: %s" % (testpath, msg))
841 log("\nSkipping %s: %s" % (testpath, msg))
@@ -1152,8 +1150,6 b' times = []'
1152 iolock = threading.Lock()
1150 iolock = threading.Lock()
1153
1151
1154 def runqueue(options, tests):
1152 def runqueue(options, tests):
1155 global results, resultslock
1156
1157 for test in tests:
1153 for test in tests:
1158 code, test, msg = runone(options, test)
1154 code, test, msg = runone(options, test)
1159 resultslock.acquire()
1155 resultslock.acquire()
General Comments 0
You need to be logged in to leave comments. Login now