]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Porting Salome test system on Windows
authorana <ana@opencascade.com>
Fri, 6 Dec 2013 07:02:14 +0000 (07:02 +0000)
committerana <ana@opencascade.com>
Fri, 6 Dec 2013 07:02:14 +0000 (07:02 +0000)
src/XAO/tests/CMakeLists.txt

index 9a1a748e850da83edf809e6d1dc8124be7b5ec7a..79355ed7760ef8b167d0e85dcffff0c9a42e4630 100644 (file)
@@ -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})