Skip to content

Commit 1a41359

Browse files
Merge pull request #1057 from Geode-solutions/fix/unstable-test
fix(CTest): add unstable label
2 parents 083d225 + 510c443 commit 1a41359

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/CppTargets.cmake

Lines changed: 3 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}
@@ -239,6 +239,8 @@ function(add_geode_test)
239239
if(${GEODE_TEST_ESSENTIAL})
240240
add_dependencies(essential ${target_name})
241241
set_tests_properties(${target_name} PROPERTIES LABELS essential)
242+
elseif(${GEODE_TEST_UNSTABLE})
243+
set_tests_properties(${target_name} PROPERTIES LABELS unstable)
242244
endif()
243245
set_tests_properties(${target_name}
244246
PROPERTIES

0 commit comments

Comments
 (0)