]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix regression in 'make test' caused by 7a3c2d25
authorvsr <vsr@opencascade.com>
Tue, 26 Sep 2017 07:46:41 +0000 (10:46 +0300)
committervsr <vsr@opencascade.com>
Tue, 26 Sep 2017 07:46:41 +0000 (10:46 +0300)
src/XAO/tests/CMakeLists.txt

index 15c9a5f3b2e458bca30a0d8bb94023dad270c44d..7bad36ceaea0863c17f43636aaaf6e354f7c7133 100644 (file)
@@ -60,7 +60,7 @@ SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/xao)
 
 ADD_TEST(TestXAO TestXAO)
-SET_TESTS_PROPERTIES(TestXAO PROPERTIES ENVIRONMENT "XAO_DATA_DIR=${TEST_INSTALL_DIRECTORY}/data;${tests_env}")
+SET_TESTS_PROPERTIES(TestXAO PROPERTIES ENVIRONMENT "XAO_DATA_DIR=${CMAKE_CURRENT_SOURCE_DIR}/data;${tests_env}")
 
 INSTALL(TARGETS TestXAO DESTINATION ${SALOME_INSTALL_BINS})