tests/run-tests.py
branchstable
changeset 1287 4b788bb2993d
parent 1286 545a2ae04b54
child 1289 0b972f189962
equal deleted inserted replaced
1286:545a2ae04b54 1287:4b788bb2993d
    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()
       
    92         threading.Thread(target=t).start()
    91         threading.Thread(target=t).start()
    93 
    92 
    94     return p
    93     return p
    95 
    94 
    96 # reserved exit code to skip test (used by hghave)
    95 # reserved exit code to skip test (used by hghave)