tests: Rely on unittest2 to print failure messages
This commit is contained in:
parent
2c05958ecc
commit
c34a12369e
4
test.sh
4
test.sh
|
@ -13,10 +13,6 @@ while time.time() < deadline and proc.poll() is None:
|
||||||
time.sleep(1.0)
|
time.sleep(1.0)
|
||||||
|
|
||||||
if proc.poll() is not None:
|
if proc.poll() is not None:
|
||||||
if proc.returncode:
|
|
||||||
print
|
|
||||||
print >> sys.stderr, "Command failed:", sys.argv[2:]
|
|
||||||
print
|
|
||||||
sys.exit(proc.returncode)
|
sys.exit(proc.returncode)
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
print
|
print
|
||||||
|
|
Loading…
Reference in New Issue