]> https://gitweb.dealii.org/ - dealii.git/commitdiff
tests: numdiff: add "[](){}^' as separators
authorMatthias Maier <tamiko@43-1.org>
Fri, 11 Aug 2017 00:13:01 +0000 (19:13 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 13 Aug 2017 18:09:21 +0000 (13:09 -0500)
cmake/scripts/run_test.sh

index d0b798e0b906eabba2f2f17e6cd1aea0238d7e68..68c766b2c0723410bd0298f97a4d18880c0229ef 100644 (file)
@@ -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}
           ;;
         *)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.