From febb177f058df116a87e0b2b1196e62b7ed9ae10 Mon Sep 17 00:00:00 2001 From: "Charlton, Scott R." Date: Thu, 18 Apr 2024 18:44:07 -0600 Subject: [PATCH] Attempting to skip long_debug and long_memcheck tests including numdiffs --- mytest/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mytest/CMakeLists.txt b/mytest/CMakeLists.txt index f89d795da..6467023aa 100644 --- a/mytest/CMakeLists.txt +++ b/mytest/CMakeLists.txt @@ -839,7 +839,13 @@ if (NUMDIFF_COMMAND) endif() if (NOT PHRQC_ENABLE_REGRESSION_TESTING) - foreach(test ${LONG_DEBUG}) - set_tests_properties(${test} PROPERTIES DISABLED TRUE) + foreach(test ${TESTS}) + get_test_property(test_labels ${test} LABELS) + if ("long_debug" IN_LIST test_labels) + set_tests_properties(${test} PROPERTIES DISABLED TRUE) + endif() + if ("long_memcheck" IN_LIST test_labels) + set_tests_properties(${test} PROPERTIES DISABLED TRUE) + endif() endforeach() endif()