Browse Source

Merge pull request #5025

5ad450a travis: If the comparison-tool fails, dump the tail of the debug log (Cory Fields)
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
3b390723c1
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      qa/pull-tester/run-bitcoind-for-test.sh.in

4
qa/pull-tester/run-bitcoind-for-test.sh.in

@ -29,4 +29,8 @@ fi
kill $BITCOIND && wait $BITCOIND kill $BITCOIND && wait $BITCOIND
# timeout returns 124 on timeout, otherwise the return value of the child # timeout returns 124 on timeout, otherwise the return value of the child
# If $RETURN is not 0, the test failed. Dump the tail of the debug log.
if [ $RETURN -ne 0 ]; then tail -n 200 $DATADIR/regtest/debug.log; fi
exit $RETURN exit $RETURN

Loading…
Cancel
Save