Pārlūkot izejas kodu

ENH: Updated ctkDashboardDriverScript to account for the target suffixe: Plugins

Jean-Christophe Fillion-Robin 15 gadi atpakaļ
vecāks
revīzija
ef25361751
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6 5
      CMake/ctkDashboardDriverScript.cmake

+ 6 - 5
CMake/ctkDashboardDriverScript.cmake

@@ -125,9 +125,10 @@ WITH_COVERAGE:BOOL=TRUE
     # To get CTEST_PROJECT_SUBPROJECTS definition
     # To get CTEST_PROJECT_SUBPROJECTS definition
     include("${CTEST_BINARY_DIRECTORY}/CTestConfigSubProject.cmake")
     include("${CTEST_BINARY_DIRECTORY}/CTestConfigSubProject.cmake")
     
     
-    set(test_kits 
+    set(kit_suffixes
       CppTests
       CppTests
       #PythonTests
       #PythonTests
+      Plugins
       )
       )
     
     
    foreach(subproject ${CTEST_PROJECT_SUBPROJECTS})
    foreach(subproject ${CTEST_PROJECT_SUBPROJECTS})
@@ -144,10 +145,10 @@ WITH_COVERAGE:BOOL=TRUE
      set(CTEST_BUILD_TARGET "${subproject}")
      set(CTEST_BUILD_TARGET "${subproject}")
      ctest_build(BUILD "${ctk_build_dir}" APPEND)
      ctest_build(BUILD "${ctk_build_dir}" APPEND)
      
      
-     # Loop over test kits and try to build the corresponding target
-     foreach(test_kit ${test_kits})
-       message("Build ${subproject}${test_kit}")
-       set(CTEST_BUILD_TARGET "${subproject}${test_kit}")
+     # Loop over kit suffixes and try to build the corresponding target
+     foreach(kit_suffixe ${kit_suffixes})
+       message("Build ${subproject}${kit_suffixe}")
+       set(CTEST_BUILD_TARGET "${subproject}${kit_suffixe}")
        ctest_build(BUILD "${ctk_build_dir}" APPEND)
        ctest_build(BUILD "${ctk_build_dir}" APPEND)
      endforeach()
      endforeach()