]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Fix failing test pdp-calc1
authorWolfgang Stöggl <c72578@yahoo.de>
Sat, 6 Jan 2024 17:00:45 +0000 (18:00 +0100)
committerWolfgang Stöggl <c72578@yahoo.de>
Sun, 7 Jan 2024 10:00:21 +0000 (11:00 +0100)
commit6892508386bf9b5651fdb86b3931349073922d40
tree6a1f310779f01da52bb9a1b91cf73076bd4249c1
parentf71361877db9208f9b00dfe81e9c85a8b4f16ca8
Fix failing test pdp-calc1

The number of decimal places or the format can be different in the
output depending on the platform.

- The failing test has appeared under msys2 (MINGW32 and MINGW64),
  where the exponential notation has changed:
  E.g. e+000 instead of e+00
- Use DIFF9 also in test pdp-calc1, which reduces the number of
  decimal places to 7 using "%0.7e". See DIFF9 in tests/functions.
- Update the pdp-calc1 output files accordingly
- Fixes failing test pdp-calc1 under msys2
tests/pdp-calc1
tests/pdp-calc1-1-avg-300.output
tests/pdp-calc1-1-avg-60.output
tests/pdp-calc1-1-max-300.output