mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
CI: show the log in case of failure
Disclose the content of the 'test-suite.log' file (if available) in case of failures inside Travis-CI. This is needed to understand what happened and to provide hints about the proper fix (if applicable).
This commit is contained in:
parent
411713d440
commit
1e988b2356
@ -83,3 +83,11 @@ matrix:
|
||||
# many unit tests fail & so does syntax-check, so skip for now
|
||||
# one day we must fix it though....
|
||||
- make -j3
|
||||
|
||||
after_failure:
|
||||
- echo '============================================================================'
|
||||
- 'if [ -f $(pwd)/tests/test-suite.log ]; then
|
||||
cat $(pwd)/tests/test-suite.log;
|
||||
else
|
||||
echo "=== NO LOG FILE FOUND ===";
|
||||
fi'
|
||||
|
Loading…
Reference in New Issue
Block a user