From: Daan De Meyer Date: Thu, 9 Jan 2025 14:13:18 +0000 (+0100) Subject: fmf: Move meson logs and failed test journals to test artifacts dir X-Git-Tag: v258-rc1~1648^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e444c948e7d8ddbdec83116b68af7d876e2d2f6;p=thirdparty%2Fsystemd.git fmf: Move meson logs and failed test journals to test artifacts dir --- diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index d2c9dbfb899..783737e8eef 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -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"