[vtk-developers] Image based axis test passing despite failure (Windows bug with label precision)
Marcus D. Hanwell
marcus.hanwell at kitware.com
Fri Dec 8 12:49:32 EST 2017
I had been meaning to look into this for a while, we have an issue on
Windows with chart axes displaying way too many decimal places using
scientific notation and set precision. I have confirmed on the dashboard
that this does in fact happen with the TestAxes test:
https://open.cdash.org/testDetails.php?test=607700533&build=5173639
I made the axis next to it invisible, so it begs the question of why this
was passing on Windows as I only see one baseline, and it looks correct.
Perhaps the test image is too crowded, and the fuzzing for the image let it
through unnoticed all this time?
This is using the standard library calls to generate the labels, so
guessing this is a bug/feature in the Windows STL, I will dig into this but
wanted to point this passing failure out in case anyone had ideas on how it
might be prevented in the future.
I noticed because we use this in Tomviz, and on Windows users complained
about us using 10 decimal places, asking for a more reasonable number :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20171208/bfe54dca/attachment.html>
More information about the vtk-developers
mailing list