From 4b7ad06de260d22477bc309f2a66ff8c5128a657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20M=C3=BCller?= <felix.mueller2@mailbox.tu-dresden.de> Date: Mon, 7 Oct 2019 13:31:57 +0200 Subject: [PATCH] Disable tests for PETSc with nonmatching type --- test/ProblemStatTest.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/ProblemStatTest.cpp b/test/ProblemStatTest.cpp index b44b52f4..c74a9cd6 100644 --- a/test/ProblemStatTest.cpp +++ b/test/ProblemStatTest.cpp @@ -54,11 +54,19 @@ int main(int argc, char** argv) { Environment env(argc, argv); +#if !HAVE_PETSC || PETSC_USE_REAL_SINGLE test<float>(); +#endif + +#if !HAVE_PETSC || PETSC_USE_REAL_DOUBLE test<double>(); +#endif + +#if !HAVE_PETSC test<long double>(); +#endif -#if HAVE_QUADMATH +#if HAVE_QUADMATH && (!HAVE_PETSC || PETSC_USE_REAL___FLOAT128) test<Dune::Float128>(); #endif -- GitLab