Skip to content

Commit 84fb315

Browse files
committed
ENH: Add PASS_REGULAR_EXPRESION to ConvertImageWithLabelsToShapeLabelMap
Ensure we are not getting an incorrect object count.
1 parent e404022 commit 84fb315

File tree

1 file changed

+2
-0
lines changed
  • src/Filtering/LabelMap/ConvertImageWithLabelsToShapeLabelMap

1 file changed

+2
-0
lines changed

src/Filtering/LabelMap/ConvertImageWithLabelsToShapeLabelMap/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ install(FILES Code.cxx CMakeLists.txt
2323
enable_testing()
2424
add_test(NAME ConvertImageWithLabelsToShapeLabelMapTest
2525
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME})
26+
set_tests_properties(ConvertImageWithLabelsToShapeLabelMapTest
27+
PROPERTIES PASS_REGULAR_EXPRESSION "There are 2 objects.")

0 commit comments

Comments
 (0)