From dc11d8d4fcd448855c276b4561df956a71950f73 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Sat, 21 Jan 2023 13:23:41 +0100
Subject: [PATCH] [test] Fix thresholds to work with legacy and slightly
 different fieldcompare criterion

---
 test/multidomain/poromechanics/el2p/CMakeLists.txt | 3 +--
 test/porousmediumflow/1pnc/1p3c/CMakeLists.txt     | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/multidomain/poromechanics/el2p/CMakeLists.txt b/test/multidomain/poromechanics/el2p/CMakeLists.txt
index f0e1e2f1e6..635de4e58b 100644
--- a/test/multidomain/poromechanics/el2p/CMakeLists.txt
+++ b/test/multidomain/poromechanics/el2p/CMakeLists.txt
@@ -12,5 +12,4 @@ dumux_add_test(NAME test_md_poromechanics_el2p
                                 ${CMAKE_SOURCE_DIR}/test/references/test_md_poromechanics_el2p_poroelastic-reference.vtu
                                 ${CMAKE_CURRENT_BINARY_DIR}/test_md_poromechanics_el2p_poroelastic-00010.vtu
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_md_poromechanics_el2p params.input
-                                                              -Vtk.OutputName test_md_poromechanics_el2p"
-                       --zeroThreshold {"u":1e-14})
+                                                              -Vtk.OutputName test_md_poromechanics_el2p")
diff --git a/test/porousmediumflow/1pnc/1p3c/CMakeLists.txt b/test/porousmediumflow/1pnc/1p3c/CMakeLists.txt
index 82bdac1b40..42ef9875d0 100644
--- a/test/porousmediumflow/1pnc/1p3c/CMakeLists.txt
+++ b/test/porousmediumflow/1pnc/1p3c/CMakeLists.txt
@@ -20,4 +20,4 @@ dumux_add_test(NAME test_1pnc_maxwellstefan_box
                         --files ${CMAKE_SOURCE_DIR}/test/references/test_1pnc_maxwellstefan_box-reference.vtu
                                  ${CMAKE_CURRENT_BINARY_DIR}/test_1pnc_maxwellstefan_box-00005.vtu
                         --command "${CMAKE_CURRENT_BINARY_DIR}/test_1pnc_maxwellstefan_box params.input -Problem.Name test_1pnc_maxwellstefan_box"
-                        --zeroThreshold {"velocity_Gas \(m/s\)":1e-13})
+                        --zeroThreshold {"velocity_Gas \(m/s\)":1e-12})
-- 
GitLab