diff mbox series

[v2,3/3] travis: print failed test logs to screen

Message ID 1495785606-5618-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v2,1/3] travis: split build into separate stages | expand

Commit Message

Github ODP bot May 26, 2017, 8 a.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


If some test failed try to find them and print log.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 42 (lumag:stages)
 ** https://github.com/Linaro/odp/pull/42
 ** Patch: https://github.com/Linaro/odp/pull/42.patch
 ** Base sha: 472d34cc0fd2b5f96277b1799583ab6c45375d40
 ** Merge commit sha: 9564c836815be5e212ffd10fab0a88da9307c445
 **/
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index af47ed17..a7ad2a74 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -155,3 +155,6 @@  jobs:
                           - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`;
                           - if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi;
                           - ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
+
+after_failure:
+  - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;