summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/init.sh6
1 files 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