From 232997bf8cc91dcae328e55361dc6016cb6726d0 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 18 Oct 2018 00:19:45 +0200 Subject: [PATCH] Add manually simple label for MPI unit tests --- tests/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a2370f57d..e6bfb691b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -48,4 +48,9 @@ if (${PASTIS_HAS_MPI}) ${MPIEXEC_PREFLAGS} ${PASTIS_BINARY_DIR}/mpi_unit_tests ${MPIEXEC_POSTFLAGS}) + +# Should patch ParseAndAddCatchTests macro to allow additional command parameter +# to launch tests + set_tests_properties("mpi_unit_tests" PROPERTIES FAIL_REGULAR_EXPRESSION "No tests ran" + LABELS "mpi") endif() -- GitLab