From 493359d82a1919150911b75f7bb8bfbf93b9a4e4 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Sun, 5 Jul 2015 12:56:38 +0200 Subject: [PATCH] ignore mpirun tests without mpi --- cmake/macros/macro_deal_ii_pickup_tests.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/macros/macro_deal_ii_pickup_tests.cmake b/cmake/macros/macro_deal_ii_pickup_tests.cmake index b80d51eb06..663974725e 100644 --- a/cmake/macros/macro_deal_ii_pickup_tests.cmake +++ b/cmake/macros/macro_deal_ii_pickup_tests.cmake @@ -167,6 +167,11 @@ MACRO(DEAL_II_PICKUP_TESTS) ENDIF() ENDFOREACH() + # Disable tests using mpirun if MPI is not enabled + STRING(REGEX MATCH "mpirun=" _matches ${_test}) + IF (_matches AND NOT DEAL_II_WITH_MPI) + SET(_define_test FALSE) + ENDIF() # # Query configuration and check whether we support it. Otherwise # set _define_test to FALSE: -- 2.39.5