1 DIR='@CMAKE_CURRENT_SOURCE_DIR@'
3 REINIT_SALOME=@TEST_REINIT_SALOME@
9 class MyTest(unittest.TestCase):
18 if __name__ == "__main__":
19 tests = TESTS.split(';')
21 file_name = os.path.basename(test)
22 if os.path.isabs(test):
25 file_path = os.path.join(DIR, file_name)
26 case_name = 'test_' + file_name[:-3]
32 exec(code.format(file_path))
33 setattr(MyTest, case_name, func)