diff mbox series

[v1,2/2] travis: let after_failure task print logs

Message ID 1535637606-854-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/2] travis: set CI for distcheck | expand

Commit Message

Github ODP bot Aug. 30, 2018, 2 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


current print logs are not executed due to set -e,
let after_failure task print logs if return code
is not zero.

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

---
/** Email created from pull request 688 (muvarov:devel/master_travis)
 ** https://github.com/Linaro/odp/pull/688
 ** Patch: https://github.com/Linaro/odp/pull/688.patch
 ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a
 ** Merge commit sha: 49a6fd7f7a454239a65b37aefb94d5188e9744d1
 **/
 scripts/ci/coverage.sh | 16 ----------------
 1 file changed, 16 deletions(-)
diff mbox series

Patch

diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh
index 2f285e95c..18e2e9806 100755
--- a/scripts/ci/coverage.sh
+++ b/scripts/ci/coverage.sh
@@ -22,25 +22,9 @@  mount -t hugetlbfs nodev /mnt/huge
 export CI="true"
 
 ODP_SCHEDULER=basic    make check
-if [ $? -ne 0 ]; then
-  find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
-fi
-
 ODP_SCHEDULER=sp       make check
-if [ $? -ne 0 ]; then
-  find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
-fi
-
 ODP_SCHEDULER=iquery   make check
-if [ $? -ne 0 ]; then
-  find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
-fi
-
 ODP_SCHEDULER=scalable make check
-if [ $? -ne 0 ]; then
-  find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
-fi
-
 
 bash <(curl -s https://codecov.io/bash) -X coveragepy