From: rnv Date: Sat, 28 Apr 2018 09:10:19 +0000 (+0300) Subject: Fix for '23553: Replace ABSOLUTE_APPLI_PATH by KERNEL_ROOT_DIR in GEOM and SMESH... X-Git-Tag: V8_5_0rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e791424001c734f62d1209824d7cd82d85f892e;p=modules%2Fgeom.git Fix for '23553: Replace ABSOLUTE_APPLI_PATH by KERNEL_ROOT_DIR in GEOM and SMESH cmakefiles' issue. --- diff --git a/CTestTestfileInstall.cmake b/CTestTestfileInstall.cmake index f1f002aa5..6bc1687ee 100644 --- a/CTestTestfileInstall.cmake +++ b/CTestTestfileInstall.cmake @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(SALOME_TEST_DRIVER "$ENV{ABSOLUTE_APPLI_PATH}/bin/salome/appliskel/salome_test_driver.py") +SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py") SET(COMPONENT_NAME GEOM) SET(TIMEOUT 300) diff --git a/src/XAO/tests/CTestTestfileInstall.cmake b/src/XAO/tests/CTestTestfileInstall.cmake index 443de4580..92184882c 100644 --- a/src/XAO/tests/CTestTestfileInstall.cmake +++ b/src/XAO/tests/CTestTestfileInstall.cmake @@ -20,4 +20,4 @@ ADD_TEST(GEOM_TestXAO python ${SALOME_TEST_DRIVER} ${TIMEOUT} TestXAO) SET_TESTS_PROPERTIES(GEOM_TestXAO PROPERTIES LABELS "${COMPONENT_NAME}" - ENVIRONMENT "XAO_DATA_DIR=$ENV{ABSOLUTE_APPLI_PATH}/bin/salome/test/GEOM/xao/data") + ENVIRONMENT "XAO_DATA_DIR=$ENV{GEOM_ROOT_DIR}/bin/salome/test/xao/data")