From 7047470d1c529363b986b71c2faea9db51dcec7b Mon Sep 17 00:00:00 2001 From: Paul Bauer Date: Wed, 28 Aug 2019 11:11:08 +0200 Subject: [PATCH] Change tolerance for normal mode tests Testing on gitlab showed that the comparisson for the normal mode tests was too tight, so I relaxed the test tolerances a bit. Change-Id: I2c0443d8deb9aa2e49559fd75f6b5fe6953d7912 --- src/programs/mdrun/tests/normalmodes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/programs/mdrun/tests/normalmodes.cpp b/src/programs/mdrun/tests/normalmodes.cpp index 4e14aba90b..aa88ad867d 100644 --- a/src/programs/mdrun/tests/normalmodes.cpp +++ b/src/programs/mdrun/tests/normalmodes.cpp @@ -81,7 +81,7 @@ using MdpField = MdpFieldValues::value_type; /*! \brief Test fixture base for normal mode analysis * - * This test ensures mdrun can run a normal mode analys, reaching + * This test ensures mdrun can run a normal mode analysis, reaching * a reproducible eigenvalues following diagonalization. * * The choices for tolerance are arbitrary but sufficient. */ @@ -140,6 +140,7 @@ TEST_P(NormalModesTest, WithinTolerances) .checkCompound("System", simulationName) .checkCompound("Integrator", integrator); auto settings = XvgMatchSettings(); + settings.tolerance = relativeToleranceAsFloatingPoint(1.0, 1e-05); TextInputFile input("eigenval.xvg"); checkXvgFile(&input, &checker, settings); } -- 2.11.4.GIT