]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Limit unit tests check to 7 digits precision 652/head
authorJean-Michel Vourgère <nirgal@debian.org>
Sun, 9 Aug 2015 20:46:31 +0000 (22:46 +0200)
committerJean-Michel Vourgère <nirgal@debian.org>
Sun, 9 Aug 2015 20:46:31 +0000 (22:46 +0200)
commit47952b8d5f2b739dd91464a7df9f99df534ee575
treee0cd526b4715bbd7e48a3a48e17eb79fd678d4c9
parent04f70058cc894c0a3ee5d555ea1bb5a8d4bb8a0e
Limit unit tests check to 7 digits precision

Note that 8 digits is not enough a reduction:

on hurd-i386: echo "3.417131125e-02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.41713112e-02

on armel: echo "3.417131125e-02" | perl -p -e 's/([-+]?\d\.\d+e[-+]\d+)/sprintf("%0.8e",$1)/ge'
3.41713113e-02
22 files changed:
tests/dcounter1.output
tests/functions
tests/modify-test1.create.dump
tests/modify-test1.mod1.dump
tests/modify-test3.create.dump
tests/modify-test3.mod1.dump
tests/modify2-testa-create.dump
tests/modify2-testb-mod1.dump
tests/modify2-testc-mod1.dump
tests/modify4-testa-create.dump
tests/modify4-testa1-create.dump
tests/modify4-testa2-create.dump
tests/modify5-testa1-create.dump
tests/modify5-testa2-create.dump
tests/rpn2.output
tests/tune1-testa-mod1.dump
tests/tune1-testa-mod2.dump
tests/tune1-testorg.dump
tests/tune2-testa-mod1.dump
tests/tune2-testorg.dump
tests/xport1.json.output
tests/xport1.xml.output