From f80300adacb3f6fbb40929f65fca3126295823d3 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 13 Mar 2019 09:21:50 +0300 Subject: [PATCH] Make models and compatibility tests able to be enabled simultaneously. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5eabd92f6..777a006d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.39.2