From 76d7db00513481dafffb8d38ce0414283d16fbed Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 10 Aug 2017 19:13:01 -0500 Subject: [PATCH] tests: numdiff: add "[](){}^' as separators --- cmake/scripts/run_test.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cmake/scripts/run_test.sh b/cmake/scripts/run_test.sh index d0b798e0b9..68c766b2c0 100644 --- a/cmake/scripts/run_test.sh +++ b/cmake/scripts/run_test.sh @@ -105,7 +105,15 @@ case $STAGE in # case "${NUMDIFF_EXECUTABLE}" in *numdiff*) - "${NUMDIFF_EXECUTABLE}" -a 1e-6 -r 1e-8 -s ' \t\n:<>=,;' \ + # + # Configure numdiff with + # - absolute precision set to 1e-6, everything below is + # regarded as being equal to 0 + # - relative differences of 1e-8 + # - [space][tab][newline]=,:;<>[](){}^ as separators between + # numbers + # + "${NUMDIFF_EXECUTABLE}" -a 1e-6 -r 1e-8 -s ' \t\n=,:;<>[](){}^' \ "${file}" output > diff${variant} ;; *) -- 2.39.5