lava: Upload artifacts as a separate test
[lttng-ci.git] / scripts / system-tests / run-test-suites.sh
index 21782f1b179f5d5fc6d457cc905e0e5512027403..90c4754e90ae7f9b1b985bd54af704cc4cd06c81 100755 (executable)
@@ -73,7 +73,7 @@ failed_tests=0
 
 export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system"
 
-make --keep-going check || failed_tests=1
+timeout 90m make --keep-going check || failed_tests=1
 
 if [ -f "./tests/root_regression" ]; then
     cd "./tests" || exit 1
@@ -91,4 +91,8 @@ else
     echo 'root_destructive_tests not found'
 fi
 
+if [[ "${failed_tests}" != "0" ]] ; then
+    find tests/ -iname '*.trs' -print0 -or -iname '*.log' -print0 | tar czf /tmp/coredump/logs.tgz --null -T -
+fi
+
 exit $failed_tests
This page took 0.022934 seconds and 4 git commands to generate.