diff --git a/ci/lib.sh b/ci/lib.sh index 11c91f9a3aa176..c0e757fb3d11f5 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -47,6 +47,7 @@ group () { "$@" 2>&1 echo $? >exit.status ) | + tee -a t/"$1".log | sed 's/^\(\([^ ]*\):\([0-9]*\):\([0-9]*:\) \)\(error\|warning\): /::\5 file=\2,line=\3::\1/' res=$(cat exit.status) rm exit.status @@ -188,6 +189,7 @@ create_failed_test_artifacts () { done mkdir -p t/failed-test-artifacts + cp "t/*.log" t/failed-test-artifacts/ || : ignore failure for test_exit in t/test-results/*.exit do