From 6e8372a1e8b508ac3b623f43026dce1cab292698 Mon Sep 17 00:00:00 2001 From: Andreas Heinrich Date: Tue, 30 Apr 2024 15:16:42 +0200 Subject: [PATCH] Fix report log on failure (#69) Signed-off-by: Andreas Heinrich --- .ci/build-kit/install_and_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/build-kit/install_and_test.sh b/.ci/build-kit/install_and_test.sh index f7d6437..140ee13 100755 --- a/.ci/build-kit/install_and_test.sh +++ b/.ci/build-kit/install_and_test.sh @@ -12,6 +12,6 @@ cmake \ ninja -j$(nproc) -C build install -ninja -j$(nproc) -C build test +trap "cp build/Testing/Temporary/LastTest.log /ext/ctest-report" EXIT -cp build/Testing/Temporary/LastTest.log /ext/ctest-report +ninja -j$(nproc) -C build test