Salome HOME
CMake:
authormpa <mpa@opencascade.com>
Wed, 4 Dec 2013 06:23:55 +0000 (06:23 +0000)
committermpa <mpa@opencascade.com>
Wed, 4 Dec 2013 06:23:55 +0000 (06:23 +0000)
-generate tests environment to run test

src/engine/Test/CMakeLists.txt

index d39ec21ab87d2f6af2e6123840ccee1a9116806f..283a927558fbef096adecc730b4679f94e9c25ad 100644 (file)
@@ -77,4 +77,6 @@ ADD_TEST(TestEngine TestEngine)
 
 ADD_EXECUTABLE(IntegrationTestEngine ${IntegrationTestEngine_SOURCES})
 TARGET_LINK_LIBRARIES(IntegrationTestEngine ${_link_LIBRARIES})
-ADD_TEST(IntegrationTestEngine IntegrationTestEngine)
\ No newline at end of file
+SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
+ADD_TEST(IntegrationTestEngine IntegrationTestEngine)
+SET_TESTS_PROPERTIES(IntegrationTestEngine PROPERTIES ENVIRONMENT "${tests_env}")
\ No newline at end of file