tests/run-tests.py
branchstable
changeset 1286 545a2ae04b54
parent 1285 61dfbdf6d67d
child 1287 4b788bb2993d
equal deleted inserted replaced
1285:61dfbdf6d67d 1286:545a2ae04b54
    86             while time.time() - start < timeout and p.returncode is None:
    86             while time.time() - start < timeout and p.returncode is None:
    87                 time.sleep(.1)
    87                 time.sleep(.1)
    88             p.timeout = True
    88             p.timeout = True
    89             if p.returncode is None:
    89             if p.returncode is None:
    90                 terminate(p)
    90                 terminate(p)
       
    91                 p.wait()
    91         threading.Thread(target=t).start()
    92         threading.Thread(target=t).start()
    92 
    93 
    93     return p
    94     return p
    94 
    95 
    95 # reserved exit code to skip test (used by hghave)
    96 # reserved exit code to skip test (used by hghave)