]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fmf: Move meson logs and failed test journals to test artifacts dir
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 9 Jan 2025 14:13:18 +0000 (15:13 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 9 Jan 2025 14:13:18 +0000 (15:13 +0100)
test/fmf/integration-tests/test.sh

index d2c9dbfb899461bb9a103af962715b5796eaee9a..783737e8eefc25fde900e0289e2305a4f5583064 100755 (executable)
@@ -132,6 +132,11 @@ mkosi -f sandbox \
     --suite integration-tests \
     --print-errorlogs \
     --no-stdsplit \
-    --num-processes "$NPROC"
+    --num-processes "$NPROC" && EC=0 || EC=$?
+
+find build/meson-logs -type f -exec mv {} "$TMT_TEST_DATA" \;
+find build/test/journal -type f -exec mv {} "$TMT_TEST_DATA" \;
 
 popd
+
+exit "$EC"