From: ana Date: Fri, 6 Dec 2013 07:02:14 +0000 (+0000) Subject: Porting Salome test system on Windows X-Git-Tag: V7_3_0~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a5ebce6874ffec858e78dd2ed891e175fcd704b;p=modules%2Fgeom.git Porting Salome test system on Windows --- diff --git a/src/XAO/tests/CMakeLists.txt b/src/XAO/tests/CMakeLists.txt index 9a1a748e8..79355ed77 100644 --- a/src/XAO/tests/CMakeLists.txt +++ b/src/XAO/tests/CMakeLists.txt @@ -55,7 +55,10 @@ SET(TestXAO_SOURCES ADD_EXECUTABLE(TestXAO ${TestXAO_SOURCES}) TARGET_LINK_LIBRARIES(TestXAO ${_link_LIBRARIES}) + +SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) + ADD_TEST(TestXAO TestXAO) -SET_TESTS_PROPERTIES(TestXAO PROPERTIES ENVIRONMENT "GEOM_SRC_DIR=${PROJECT_SOURCE_DIR}") +SET_TESTS_PROPERTIES(TestXAO PROPERTIES ENVIRONMENT "GEOM_SRC_DIR=${PROJECT_SOURCE_DIR};${tests_env}") INSTALL(TARGETS TestXAO DESTINATION ${SALOME_INSTALL_BINS})