From 25d0c8407026f42af21cc5918fed3b493a5236e8 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Thu, 19 Sep 2013 09:31:39 +0000
Subject: [PATCH] add flags for building parallel CMake tests

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11500 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/decoupled/2p/CMakeLists.txt      | 2 ++
 test/implicit/richards/CMakeLists.txt | 1 +
 2 files changed, 3 insertions(+)

diff --git a/test/decoupled/2p/CMakeLists.txt b/test/decoupled/2p/CMakeLists.txt
index 94676cf12e..b3f17e8d92 100644
--- a/test/decoupled/2p/CMakeLists.txt
+++ b/test/decoupled/2p/CMakeLists.txt
@@ -20,6 +20,8 @@ add_test(test_impesadaptive
 
 add_executable("test_impeswithamg" EXCLUDE_FROM_ALL test_impeswithamg.cc)
 if(MPI_FOUND)
+  add_dune_superlu_flags(test_impeswithamg)
+  add_dune_mpi_flags(test_impeswithamg)
   add_test(test_impeswithamg
     ${CMAKE_SOURCE_DIR}/bin/runTest.sh
     ${CMAKE_SOURCE_DIR}/bin/fuzzycomparevtu.py
diff --git a/test/implicit/richards/CMakeLists.txt b/test/implicit/richards/CMakeLists.txt
index e6b15577a6..e87e1d6f7c 100644
--- a/test/implicit/richards/CMakeLists.txt
+++ b/test/implicit/richards/CMakeLists.txt
@@ -4,6 +4,7 @@ add_dune_ug_flags(test_boxrichards)
 if(MPI_CXX_FOUND)
     # tell UG that the model is parallelized
   add_definitions(-DModelP)
+  add_dune_mpi_flags(test_boxrichards)
   add_test(test_boxrichards
     ${CMAKE_SOURCE_DIR}/bin/runTest.sh
     ${CMAKE_SOURCE_DIR}/bin/fuzzycomparevtu.py
-- 
GitLab