From: azv Date: Tue, 28 Feb 2017 12:39:15 +0000 (+0300) Subject: Add key to make.sh to be able to test models together with unit tests X-Git-Tag: V_2.7.0~259^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ace99a72c28b191156b1ea484680a293a59685a6;p=modules%2Fshaper.git Add key to make.sh to be able to test models together with unit tests --- 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}"