tests/run-tests.py
branchstable
changeset 1318 4e600dd12c89
parent 1317 f7923ea4b188
child 1319 b5ce8c72ddf9
equal deleted inserted replaced
1317:f7923ea4b188 1318:4e600dd12c89
  1094                 running -= 1
  1094                 running -= 1
  1095             if tests and not running == jobs:
  1095             if tests and not running == jobs:
  1096                 test = tests.pop(0)
  1096                 test = tests.pop(0)
  1097                 if options.loop:
  1097                 if options.loop:
  1098                     tests.append(test)
  1098                     tests.append(test)
  1099                 t = threading.Thread(target=job, args=(test, count))
  1099                 t = threading.Thread(target=job, name=test, args=(test, count))
  1100                 t.start()
  1100                 t.start()
  1101                 running += 1
  1101                 running += 1
  1102                 count += 1
  1102                 count += 1
  1103     except KeyboardInterrupt:
  1103     except KeyboardInterrupt:
  1104         abort = True
  1104         abort = True