diff options
author | Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> | 2017-10-07 00:03:27 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-10-16 21:51:50 +0300 |
commit | ec0c3145fcafa09ae3a79875e7e07dd4794583cc (patch) | |
tree | da75a50204fccf3b51a6b0fee32f2610cf95498c | |
parent | aa64630294bed950641e99fa1c87725f521a0002 (diff) |
travis: print failed test logs basing on test result status files
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7fcd98e2f..dbaad1460 100644 --- a/.travis.yml +++ b/.travis.yml @@ -283,4 +283,4 @@ jobs: after_failure: - cat config.log - - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \; + - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done |