mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
travis: If the comparison-tool fails, dump the tail of the debug log
The entire debug log would be huge, and could cause issues for automated tools like travis. Printing 200 lines is an initial guess at a reasonable number, more may be required.
This commit is contained in:
parent
1fbccda8d0
commit
5ad450a65a
@ -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…
Reference in New Issue
Block a user