diff --git a/unit_tests/CMakeLists.txt b/unit_tests/CMakeLists.txt index 2c33b42f7262ce0741348c4edb97ed7adf23192f..69f1269f2e06a142d9b73315cca3fb98fc9be5d8 100644 --- a/unit_tests/CMakeLists.txt +++ b/unit_tests/CMakeLists.txt @@ -8,19 +8,20 @@ FetchContent_Declare( FetchContent_MakeAvailable(Catch2) -#file(GLOB_RECURSE src_files "*.cpp") -set(src_files) -list(APPEND src_files "data/Test_Context.cpp") -list(APPEND src_files "graph/Test_Connector.cpp") -list(APPEND src_files "graph/Test_GraphView.cpp") -#MESSAGE(WARNING "Memory leak in graphMatching/Test_GRegex.cpp") -list(APPEND src_files "graphMatching/Test_GRegex.cpp") -list(APPEND src_files "graphMatching/Test_NodeRegex.cpp") -#MESSAGE(WARNING "Memory leak in graphMatching/Test_SeqStm.cpp") -list(APPEND src_files "graphMatching/Test_SeqStm.cpp") -#MESSAGE(WARNING "Memory leak in graphMatching/Test_StmFactory.cpp") -list(APPEND src_files "graphMatching/Test_StmFactory.cpp") -list(APPEND src_files "operator/Test_GenericOperator.cpp") +# Comment following line and uncomment the next ones to selectively activate tests +file(GLOB_RECURSE src_files "*.cpp") +# set(src_files) +# list(APPEND src_files "data/Test_Context.cpp") +# list(APPEND src_files "graph/Test_Connector.cpp") +# list(APPEND src_files "graph/Test_GraphView.cpp") +# #MESSAGE(WARNING "Memory leak in graphMatching/Test_GRegex.cpp") +# list(APPEND src_files "graphMatching/Test_GRegex.cpp") +# list(APPEND src_files "graphMatching/Test_NodeRegex.cpp") +# #MESSAGE(WARNING "Memory leak in graphMatching/Test_SeqStm.cpp") +# list(APPEND src_files "graphMatching/Test_SeqStm.cpp") +# #MESSAGE(WARNING "Memory leak in graphMatching/Test_StmFactory.cpp") +# list(APPEND src_files "graphMatching/Test_StmFactory.cpp") +# list(APPEND src_files "operator/Test_GenericOperator.cpp") add_executable(tests${module_name} ${src_files})