summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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