From 4bd5a79e75da10d976a8d30fafdd3c5273442bab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Feb 2018 00:35:56 +0300 Subject: Save any temporary logs in test builds into logs directory. --- tools/ci/scripts/init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 4f95e4c23..84b50f00c 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -206,11 +206,11 @@ function run_make_check { echo "make -j${JOBS} V=0 check $*" make -j${JOBS} V=0 check $* 2>$ERRFILE export ERR=$? + cp src/*.log logs || true + cp src/manaplustests.trs logs || true + cp src/Makefile logs || true 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 -- cgit v1.2.3-60-g2f50