##// END OF EJS Templates
run-tests: add --loop support...
Matt Mackall -
r19283:8300adf9 default
parent child Browse files
Show More
@@ -159,6 +159,8 b' def parseargs():'
159 159 help="run tests matching keywords")
160 160 parser.add_option("-l", "--local", action="store_true",
161 161 help="shortcut for --with-hg=<testdir>/../hg")
162 parser.add_option("--loop", action="store_true",
163 help="loop tests repeatedly")
162 164 parser.add_option("-n", "--nodiff", action="store_true",
163 165 help="skip showing test changes")
164 166 parser.add_option("-p", "--port", type="int",
@@ -1088,6 +1090,8 b' def scheduletests(options, tests):'
1088 1090 running -= 1
1089 1091 if tests and not running == jobs:
1090 1092 test = tests.pop(0)
1093 if options.loop:
1094 tests.append(test)
1091 1095 t = threading.Thread(None, job, args=(test, count))
1092 1096 t.start()
1093 1097 running += 1
General Comments 0
You need to be logged in to leave comments. Login now