]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make models and compatibility tests able to be enabled simultaneously.
authormpv <mpv@opencascade.com>
Wed, 13 Mar 2019 06:21:50 +0000 (09:21 +0300)
committermpv <mpv@opencascade.com>
Wed, 13 Mar 2019 06:21:50 +0000 (09:21 +0300)
CMakeLists.txt

index 5eabd92f6f299358e7117f03860e2b7cabfcedc2..777a006d82ee74ccd5ae6f38e92c884a096f2d51 100644 (file)
@@ -175,12 +175,12 @@ ENABLE_TESTING()
 
 IF(ADD_MODELS_TESTS)
   ADD_SUBDIRECTORY (test.models)
-  ADD_CUSTOM_TARGET(run_unit_tests COMMAND ${CMAKE_CTEST_COMMAND} -C "${CMAKE_BUILD_TYPE}" -LE "models_tests")
+  ADD_CUSTOM_TARGET(run_model_tests COMMAND ${CMAKE_CTEST_COMMAND} -C "${CMAKE_BUILD_TYPE}" -LE "models_tests")
 ENDIF(ADD_MODELS_TESTS)
 
 IF(ADD_COMPATIBILITY_TESTS)
   ADD_SUBDIRECTORY (test.compatibility)
-  ADD_CUSTOM_TARGET(run_unit_tests COMMAND ${CMAKE_CTEST_COMMAND} -C "${CMAKE_BUILD_TYPE}" -LE "tests_compatibility")
+  ADD_CUSTOM_TARGET(run_compatibility_tests COMMAND ${CMAKE_CTEST_COMMAND} -C "${CMAKE_BUILD_TYPE}" -LE "tests_compatibility")
 ENDIF(ADD_COMPATIBILITY_TESTS)
 
 IF(SHAPER_BUILD_DOC)