##// END OF EJS Templates
run-tests: "fix" race condition in race condition fix...
Bryan O'Sullivan -
r27933:a6833e46 stable
parent child Browse files
Show More
@@ -1526,13 +1526,16 b' class TestSuite(unittest.TestSuite):'
1526 channels[channel] = "=" + test.name[5:].split(".")[0]
1526 channels[channel] = "=" + test.name[5:].split(".")[0]
1527 try:
1527 try:
1528 test(result)
1528 test(result)
1529 channels[channel] = ''
1530 done.put(None)
1529 done.put(None)
1531 except KeyboardInterrupt:
1530 except KeyboardInterrupt:
1532 channels[channel] = ''
1531 pass
1533 except: # re-raises
1532 except: # re-raises
1534 done.put(('!', test, 'run-test raised an error, see traceback'))
1533 done.put(('!', test, 'run-test raised an error, see traceback'))
1535 raise
1534 raise
1535 try:
1536 channels[channel] = ''
1537 except IndexError:
1538 pass
1536
1539
1537 def stat():
1540 def stat():
1538 count = 0
1541 count = 0
General Comments 0
You need to be logged in to leave comments. Login now