Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d85d605
)
bos #18970 [CEA] SMESH test won't compile if RESTRICTED/RESTRICTED_ROOT_DIR missing
author
vsr
<vsr@opencascade.com>
Tue, 14 Apr 2020 08:34:00 +0000
(11:34 +0300)
committer
vsr
<vsr@opencascade.com>
Tue, 14 Apr 2020 08:34:00 +0000
(11:34 +0300)
test/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/test/CMakeLists.txt
b/test/CMakeLists.txt
index 2f1689528c9e556839e7cd5f3526266c4d8d927a..c1d7343956c40990f97953f63d6605af081a77f7 100644
(file)
--- a/
test/CMakeLists.txt
+++ b/
test/CMakeLists.txt
@@
-27,7
+27,7
@@
SET(_test_helper ${CMAKE_SOURCE_DIR}/doc/salome/examples/testme.py)
SET(RESTRICTED_ROOT_DIR $ENV{RESTRICTED_ROOT_DIR} CACHE PATH "Path to the restricted repository")
SET(RESTRICTED_ROOT_DIR $ENV{RESTRICTED_ROOT_DIR} CACHE PATH "Path to the restricted repository")
-IF(
EXISTS ${RESTRICTED_ROOT_DIR} AND WITH_SHAPER_STUDY
)
+IF(
WITH_SHAPER_STUDY AND EXISTS ${RESTRICTED_ROOT_DIR}
)
FILE(GLOB _restricted_tests "${RESTRICTED_ROOT_DIR}/SMESH/*.py")
FOREACH(_test ${_restricted_tests})
GET_FILENAME_COMPONENT(_test_name ${_test} NAME_WE)
FILE(GLOB _restricted_tests "${RESTRICTED_ROOT_DIR}/SMESH/*.py")
FOREACH(_test ${_restricted_tests})
GET_FILENAME_COMPONENT(_test_name ${_test} NAME_WE)