From 9a00f9d6203b5ed6e258d62eae7294ab020266a0 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 20 Sep 2010 12:31:31 +0000 Subject: [PATCH] *** empty log message *** --- salome_adm/cmake_files/am2cmake.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index a95400848..5ee9e8e0f 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1263,6 +1263,14 @@ class CMakeFile(object): # -- # For make check # -- + for key in ["TESTS"]: + if self.__thedict__.has_key(key): + newlines.append(''' + SET(UNIT_TEST_PROG ${%s}) + '''%(key)) + self.__thedict__["UNIT_TEST_PROG"] = self.__thedict__[key] + pass + pass key = "UNIT_TEST_PROG" if self.__thedict__.has_key(key): newlines.append(''' -- 2.39.2