From ace99a72c28b191156b1ea484680a293a59685a6 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 28 Feb 2017 15:39:15 +0300 Subject: [PATCH] Add key to make.sh to be able to test models together with unit tests --- make.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make.sh b/make.sh index 8aac14dde..eb82fb25c 100755 --- a/make.sh +++ b/make.sh @@ -13,6 +13,10 @@ while [[ $# > 0 ]]; do USE_TEST_COVERAGE=ON shift ;; + models|test-models) + ADD_MODELS_TESTS=TRUE + shift + ;; *) shift ;; @@ -24,6 +28,7 @@ source env.sh CMAKE_ARGS="" CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}" CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}" +CMAKE_ARGS="${CMAKE_ARGS} -DADD_MODELS_TESTS=${ADD_MODELS_TESTS:-FALSE}" CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}" CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}" -- 2.39.2