Skip to content

Commit febb177

Browse files
committed
Attempting to skip long_debug and long_memcheck tests including numdiffs
1 parent 0f255f6 commit febb177

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

mytest/CMakeLists.txt

+8-2
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,13 @@ if (NUMDIFF_COMMAND)
839839
endif()
840840

841841
if (NOT PHRQC_ENABLE_REGRESSION_TESTING)
842-
foreach(test ${LONG_DEBUG})
843-
set_tests_properties(${test} PROPERTIES DISABLED TRUE)
842+
foreach(test ${TESTS})
843+
get_test_property(test_labels ${test} LABELS)
844+
if ("long_debug" IN_LIST test_labels)
845+
set_tests_properties(${test} PROPERTIES DISABLED TRUE)
846+
endif()
847+
if ("long_memcheck" IN_LIST test_labels)
848+
set_tests_properties(${test} PROPERTIES DISABLED TRUE)
849+
endif()
844850
endforeach()
845851
endif()

0 commit comments

Comments
 (0)