diff mbox series

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

Message ID 1495782008-5146-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/3] travis: split build into separate stages | expand

Commit Message

Github ODP bot May 26, 2017, 7 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: 4308c4223e9828b6818fbdaf8d6236666995e077
 **/
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index f091a2d4..1be254cc 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 {} \;