From 4c403a1ef3e1103bdf1d534a6914a4e8f3b902f2 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Wed, 20 Dec 2023 20:31:51 -0500 Subject: [PATCH] Re-enable Unit Testing Signed-off-by: Michael Jackson --- .github/workflows/macos.yml | 2 +- CMakePresets.json | 2 +- src/Plugins/ComplexCore/CMakeLists.txt | 2 +- src/Plugins/ITKImageProcessing/CMakeLists.txt | 2 +- src/Plugins/OrientationAnalysis/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5b345112e8..d083cfc9a5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -63,4 +63,4 @@ jobs: cmake --build --preset ci-macos-x64 - name: Test run: | - ctest --preset ci-macos-x64 --verbose + ctest --preset ci-macos-x64 diff --git a/CMakePresets.json b/CMakePresets.json index 2f4e779d23..f868a6effc 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -178,7 +178,7 @@ }, "Python3_EXECUTABLE": { "type": "PATH", - "value": "/home/runner/hostedtoolcache/Python/3.10.13/x64/bin/python3.10" + "value": "/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3.10" } } }, diff --git a/src/Plugins/ComplexCore/CMakeLists.txt b/src/Plugins/ComplexCore/CMakeLists.txt index dd4e043281..fd0f6ea132 100644 --- a/src/Plugins/ComplexCore/CMakeLists.txt +++ b/src/Plugins/ComplexCore/CMakeLists.txt @@ -216,7 +216,7 @@ create_complex_plugin(NAME ${PLUGIN_NAME} # Add in the unit tests for the filters included in this plugin if(COMPLEX_BUILD_TESTS) enable_testing() - # add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) + add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) endif() #------------------------------------------------------------------------------ diff --git a/src/Plugins/ITKImageProcessing/CMakeLists.txt b/src/Plugins/ITKImageProcessing/CMakeLists.txt index b34f010e96..73a4d4d633 100644 --- a/src/Plugins/ITKImageProcessing/CMakeLists.txt +++ b/src/Plugins/ITKImageProcessing/CMakeLists.txt @@ -305,7 +305,7 @@ source_group(TREE "${${PLUGIN_NAME}_SOURCE_DIR}/src/${PLUGIN_NAME}" PREFIX ${PLU # Add in the unit tests for the filters included in this plugin if(COMPLEX_BUILD_TESTS) enable_testing() - # add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) + add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) endif() # ------------------------------------------------------------------------------ diff --git a/src/Plugins/OrientationAnalysis/CMakeLists.txt b/src/Plugins/OrientationAnalysis/CMakeLists.txt index 887be8a8ae..65a6a84c74 100644 --- a/src/Plugins/OrientationAnalysis/CMakeLists.txt +++ b/src/Plugins/OrientationAnalysis/CMakeLists.txt @@ -266,7 +266,7 @@ target_include_directories(${PLUGIN_NAME} # Add in the unit tests for the filters included in this plugin if(COMPLEX_BUILD_TESTS) enable_testing() -# add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) + add_subdirectory(${${PLUGIN_NAME}_SOURCE_DIR}/test) endif() # -----------------------------------------------------------------------