-generate tests environment to run test
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