From 2e791424001c734f62d1209824d7cd82d85f892e Mon Sep 17 00:00:00 2001 From: rnv Date: Sat, 28 Apr 2018 12:10:19 +0300 Subject: [PATCH] Fix for '23553: Replace ABSOLUTE_APPLI_PATH by KERNEL_ROOT_DIR in GEOM and SMESH cmakefiles' issue. --- CTestTestfileInstall.cmake | 2 +- src/XAO/tests/CTestTestfileInstall.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.2