From a28f5de4b3e6539777d1539765c363a348b87d90 Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 4 Dec 2013 06:23:55 +0000 Subject: [PATCH] CMake: -generate tests environment to run test --- src/engine/Test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/Test/CMakeLists.txt b/src/engine/Test/CMakeLists.txt index d39ec21ab..283a92755 100644 --- a/src/engine/Test/CMakeLists.txt +++ b/src/engine/Test/CMakeLists.txt @@ -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 -- 2.39.2