test_fluidsystems: no reason to initialize MPI here

thus we no longer depend on dune-common
This commit is contained in:
Arne Morten Kvarving 2022-12-22 11:22:28 +01:00
parent 9ccee63cac
commit 7215312bb1
2 changed files with 2 additions and 6 deletions

View File

@ -385,6 +385,7 @@ list (APPEND TEST_SOURCE_FILES
tests/test_cubic.cpp
tests/test_EvaluationFormat.cpp
tests/test_fluidmatrixinteractions.cpp
tests/test_fluidsystems.cpp
tests/test_messagelimiter.cpp
tests/test_nonuniformtablelinear.cpp
tests/test_OpmInputError_format.cpp
@ -400,7 +401,6 @@ list (APPEND TEST_SOURCE_FILES
list(APPEND DUNE_TEST_SOURCE_FILES
tests/test_co2brine_ptflash.cpp
tests/test_densead.cpp
tests/test_fluidsystems.cpp
tests/test_immiscibleflash.cpp
tests/test_ncpflash.cpp
tests/test_pengrobinson.cpp

View File

@ -65,8 +65,6 @@
#include <opm/input/eclipse/Schedule/Schedule.hpp>
#endif
#include <dune/common/parallel/mpihelper.hh>
// check that the blackoil fluid system implements all non-standard functions
template <class Evaluation, class FluidSystem>
void ensureBlackoilApi()
@ -309,10 +307,8 @@ inline void testAll()
testAllFluidSystems<Scalar, /*FluidStateEval=*/Evaluation, /*LhsEval=*/Scalar>();
}
int main(int argc, char **argv)
int main()
{
Dune::MPIHelper::instance(argc, argv);
testAll<double>();
testAll<float>();