]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add key to make.sh to be able to test models together with unit tests
authorazv <artem.zhidkov@opencascade.com>
Tue, 28 Feb 2017 12:39:15 +0000 (15:39 +0300)
committerazv <artem.zhidkov@opencascade.com>
Tue, 28 Feb 2017 12:39:15 +0000 (15:39 +0300)
make.sh

diff --git a/make.sh b/make.sh
index 8aac14dde9aab41e773abef99ff1568894968c4a..eb82fb25c014c4661c798935de644b7d1dbd07e2 100755 (executable)
--- 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}"