From 9c5f863ec1dcd3680b9057280d0123cc64020c5a Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 22 Dec 2022 11:22:28 +0100 Subject: [PATCH] test_densead: no reason to initialize MPI here thus we no longer depend on dune-common --- CMakeLists_files.cmake | 2 +- tests/test_densead.cpp | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index 754bba2fa..8e4b28d2b 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -384,6 +384,7 @@ list (APPEND TEST_SOURCE_FILES tests/test_ConditionalStorage.cpp tests/test_cubic.cpp tests/test_EvaluationFormat.cpp + tests/test_densead.cpp tests/test_fluidmatrixinteractions.cpp tests/test_fluidsystems.cpp tests/test_messagelimiter.cpp @@ -400,7 +401,6 @@ list (APPEND TEST_SOURCE_FILES # tests that need to be linked to dune-common list(APPEND DUNE_TEST_SOURCE_FILES tests/test_co2brine_ptflash.cpp - tests/test_densead.cpp tests/test_immiscibleflash.cpp tests/test_ncpflash.cpp tests/test_pengrobinson.cpp diff --git a/tests/test_densead.cpp b/tests/test_densead.cpp index c864f5e87..87e9eb6e1 100644 --- a/tests/test_densead.cpp +++ b/tests/test_densead.cpp @@ -37,8 +37,6 @@ #include #include -#include - #include #include #include @@ -682,10 +680,8 @@ private: int numDerivs_; }; -int main(int argc, char **argv) +int main() { - Dune::MPIHelper::instance(argc, argv); - std::cout << "Testing statically sized evaluations\n"; std::cout << " -> Scalar == double, n = 15\n"; StaticTestEnv().testAll();