Skip to content

Commit 22d3104

Browse files
committed
fix(CTest): add unstable label
1 parent 083d225 commit 22d3104

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmake/CppTargets.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ endfunction()
229229
option(USE_BENCHMARK "Toggle benchmarking of tests" OFF)
230230
function(add_geode_test)
231231
cmake_parse_arguments(GEODE_TEST
232-
"ESSENTIAL"
232+
"ESSENTIAL;UNSTABLE"
233233
"SOURCE"
234234
"DEPENDENCIES"
235235
${ARGN}
@@ -240,6 +240,9 @@ function(add_geode_test)
240240
add_dependencies(essential ${target_name})
241241
set_tests_properties(${target_name} PROPERTIES LABELS essential)
242242
endif()
243+
elseif(${GEODE_TEST_UNSTABLE})
244+
set_tests_properties(${target_name} PROPERTIES LABELS unstable)
245+
endif()
243246
set_tests_properties(${target_name}
244247
PROPERTIES
245248
TIMEOUT 300

0 commit comments

Comments
 (0)