From 0e444c948e7d8ddbdec83116b68af7d876e2d2f6 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 9 Jan 2025 15:13:18 +0100 Subject: [PATCH] fmf: Move meson logs and failed test journals to test artifacts dir --- test/fmf/integration-tests/test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index d2c9dbfb89..783737e8ee 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"