tests/run-tests.py
branchstable
changeset 1317 f7923ea4b188
parent 1313 2a1cad657b6d
child 1318 4e600dd12c89
equal deleted inserted replaced
1316:c7c23e04673e 1317:f7923ea4b188
  1075     def job(test, count):
  1075     def job(test, count):
  1076         try:
  1076         try:
  1077             done.put(runone(options, test, count))
  1077             done.put(runone(options, test, count))
  1078         except KeyboardInterrupt:
  1078         except KeyboardInterrupt:
  1079             pass
  1079             pass
       
  1080         except: # re-raises
       
  1081             done.put(('!', test, 'run-test raised an error, see traceback'))
       
  1082             raise
  1080 
  1083 
  1081     try:
  1084     try:
  1082         while tests or running:
  1085         while tests or running:
  1083             if not done.empty() or running == jobs or not tests:
  1086             if not done.empty() or running == jobs or not tests:
  1084                 try:
  1087                 try: