From: Guido Kanschat Date: Sun, 5 Jul 2015 10:56:38 +0000 (+0200) Subject: ignore mpirun tests without mpi X-Git-Tag: v8.3.0-rc1~60^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493359d82a1919150911b75f7bb8bfbf93b9a4e4;p=dealii.git ignore mpirun tests without mpi --- 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: