summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-20 22:23:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-21 03:58:45 +0300
commit7c01412f11f3720c61345b32ee1de6fc5441f9b2 (patch)
tree172957d3a022b2e5a1e2cf6f6e8cb616d65ed9e5 /tools
parent48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e (diff)
downloadmanaplus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.gz
manaplus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.bz2
manaplus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.tar.xz
manaplus-7c01412f11f3720c61345b32ee1de6fc5441f9b2.zip
On unit tests fail add some more logs into artficats.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/init.sh4
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