diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-20 22:23:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-21 03:58:45 +0300 |
commit | 7c01412f11f3720c61345b32ee1de6fc5441f9b2 (patch) | |
tree | 172957d3a022b2e5a1e2cf6f6e8cb616d65ed9e5 /tools/ci/scripts/init.sh | |
parent | 48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e (diff) | |
download | plus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.gz plus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.bz2 plus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.xz plus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.zip |
On unit tests fail add some more logs into artficats.
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index eb7ba7632..5f270945d 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -140,6 +140,7 @@ function gitclone { function check_error { if [ "$1" != 0 ]; then cp config.log logs + cp src/test-suite.log logs cat $ERRFILE exit $1 fi @@ -195,6 +196,9 @@ function run_make_check { export ERR=$? if [ "${ERR}" != 0 ]; then cat $ERRFILE + cp src/*.log logs + cp src/manaplustests.trs logs + cp src/Makefile logs cat src/manaplustests.log exit ${ERR} fi |