[cig-commits] [commit] master: make tester a bit more lenient with tolerances (88d522d)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sun Dec 28 11:52:26 PST 2014


Repository : https://github.com/geodynamics/burnman

On branch  : master
Link       : https://github.com/geodynamics/burnman/compare/4d93dd51f8af08989195fbc04c7df47185fea2fc...62ae59543bbffc17009a1dbde145782df113c7ba

>---------------------------------------------------------------

commit 88d522d9d5397d41cbe8e2c6f8bf005fb58f4890
Author: Timo Heister <timo.heister at gmail.com>
Date:   Fri Dec 19 10:54:39 2014 -0500

    make tester a bit more lenient with tolerances


>---------------------------------------------------------------

88d522d9d5397d41cbe8e2c6f8bf005fb58f4890
 test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test.sh b/test.sh
index 96ad7a0..dd9b2bd 100755
--- a/test.sh
+++ b/test.sh
@@ -30,11 +30,11 @@ else
   sed -i'' -e '/cannot be converted with the encoding. Glyph may be wrong/d' $t.tmp #remove font warning crap
   sed -i'' -e '/time old .* time new/d' $t.tmp #remove timing from tests/debye.py
 
-  (numdiff -r 1e-6 -s ' \t\n[]' -a 1e-6 -q $t.tmp $fulldir/misc/ref/$t.out >/dev/null && rm $t.tmp && echo "  $t ... ok"
+  (numdiff -r 1e-5 -s ' \t\n[],' -a 1e-5 -q $t.tmp $fulldir/misc/ref/$t.out >/dev/null && rm $t.tmp && echo "  $t ... ok"
   ) || {
   echo "!  $t ... FAIL";
   echo "Check: `readlink -f $t.tmp` `readlink -f $fulldir/misc/ref/$t.out`";
-  numdiff -r 1e-6 -s ' \t\n[]' -a 1e-6 $t.tmp $fulldir/misc/ref/$t.out | head
+  numdiff -r 1e-5 -s ' \t\n[],' -a 1e-5 $t.tmp $fulldir/misc/ref/$t.out | head
   }
 
 fi



More information about the CIG-COMMITS mailing list