Merge pull request #5025

5ad450a travis: If the comparison-tool fails, dump the tail of the debug log (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2014-10-02 09:08:18 +02:00
commit 3b390723c1
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -29,4 +29,8 @@ fi
kill $BITCOIND && wait $BITCOIND
# 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