diff mbox series

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

Message ID 1495573206-20223-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/2] travis: expand testing with varios configure options | expand

Commit Message

Github ODP bot May 23, 2017, 9 p.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>

---
/** Email created from pull request 36 (muvarov:master_travis_checks)
 ** https://github.com/Linaro/odp/pull/36
 ** Patch: https://github.com/Linaro/odp/pull/36.patch
 ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e
 ** Merge commit sha: 6cddc672435f8a765c1a03f39ba0149812b056b4
 **/
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 2a774d55..9d9f4563 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -170,6 +170,8 @@  script:
 
 after_success:
   - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi
+after_failure:
+  - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;
 
 addons:
     coverity_scan: