From 607a277824b97a0c493a3a4567af7e41d7f3e5c3 Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Wed, 24 Feb 2016 10:10:51 +0100 Subject: [PATCH] Made compoundslib unit tests conditional --- modules/conop/tests/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/conop/tests/CMakeLists.txt b/modules/conop/tests/CMakeLists.txt index 291408078..a0c348ac5 100644 --- a/modules/conop/tests/CMakeLists.txt +++ b/modules/conop/tests/CMakeLists.txt @@ -2,13 +2,15 @@ set(OST_CONOP_UNIT_TESTS test_heuristic_conop.cc tests.cc test_rule_based_conop.cc - helper.cc - test_compound.py + helper.cc test_cleanup.py test_processor.py test_nonstandard.py ) +if (COMPOUND_LIB) + list(APPEND OST_CONOP_UNIT_TESTS test_compound.py) +endif() + ost_unittest(MODULE conop SOURCES "${OST_CONOP_UNIT_TESTS}") - -- GitLab