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:
commit
3b390723c1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue