From f25c51c5790da62283400121a661360898354919 Mon Sep 17 00:00:00 2001 From: jatin Date: Sat, 17 Feb 2024 21:33:22 -0800 Subject: [PATCH] More CI fixing --- .github/workflows/build-arm-mac.yml | 2 +- .github/workflows/run-tests.yml | 2 +- cmake/test/SetupCatchTest.cmake | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-arm-mac.yml b/.github/workflows/build-arm-mac.yml index 1e98956f2..aaf2cdf96 100644 --- a/.github/workflows/build-arm-mac.yml +++ b/.github/workflows/build-arm-mac.yml @@ -58,4 +58,4 @@ jobs: TEST_TARGETS: ${{ matrix.tests }} run: | ctest --test-dir build -C Release -R ${TEST_TARGETS// /|} --show-only - ctest --test-dir build -C Release -R ${TEST_TARGETS// /|} -j 4 --output-on-failure + ctest --test-dir build -C Release -R ${TEST_TARGETS// /|} -j 4 --no-tests=error --output-on-failure diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 02fd156dc..e38cdc14a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -119,7 +119,7 @@ jobs: BUILD_TYPE: ${{ matrix.build_type }} run: | ctest --test-dir build -C $BUILD_TYPE -R ${TEST_TARGETS// /|} --show-only - ctest --test-dir build -C $BUILD_TYPE -R ${TEST_TARGETS// /|} -j 4 --output-on-failure + ctest --test-dir build -C $BUILD_TYPE -R ${TEST_TARGETS// /|} -j 4 --no-tests=error --output-on-failure - name: "Run Live GUI Test" if: matrix.live_gui diff --git a/cmake/test/SetupCatchTest.cmake b/cmake/test/SetupCatchTest.cmake index 27de860c6..5513d4ca9 100644 --- a/cmake/test/SetupCatchTest.cmake +++ b/cmake/test/SetupCatchTest.cmake @@ -21,9 +21,9 @@ function(setup_catch_test_base target) ) if(NOT (CMAKE_GENERATOR STREQUAL Xcode)) -# catch_discover_tests(${target} -# TEST_PREFIX ${target}_ -# ) + catch_discover_tests(${target} + TEST_PREFIX ${target}_ + ) endif() endfunction(setup_catch_test_base)