<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi guys,<div><br></div><div>Don't waste to much time on this issue. You can just increase the delta (INT_EPS) to a bigger value for 32 bit windows systems and that's all. I think it's enough if the precise values are checked on 64 bit systems. This is a known issue that checking the positions of chart components is unstable, so it might be just small platform differences. As you can see in the code INT_EPS already set to a bigger value for 32bit Linux, you can add a check for 32bit windows too and set this delta to a different value which makes the test pass.</div><div><br></div><div>Best Regards,</div><div>Tamás</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Luke Benes <<a href="mailto:lukebenes@hotmail.com">lukebenes@hotmail.com</a>> ezt írta (időpont: 2019. márc. 20., Sze, 3:04):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Mike,<br>
After <a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=166a4989a0d1e5a6271c66bceb73a27970afc882" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/libreoffice/core/commit/?id=166a4989a0d1e5a6271c66bceb73a27970afc882</a><br>
<br>
tdf#123504: 0 and 360 are different angles in charts<br>
<br>
My 32-bit Windows box is failing with the following error:<br>
<br>
ChartDataTest::verify finished in: 2796ms<br>
PivotChartDataButtonTest::verify finished in: 962ms<br>
PointLineChartTest::verify finished in: 15087ms<br>
GridTest::verify finished in: 5035ms<br>
AxisLabelTest::verify finished in: 3948ms<br>
AxisGeometryTest::verify finished in: 8078ms<br>
D:/core/chart2/qa/extras/chart2dump/chart2dump.cxx:902:PieChartTest::verify<br>
double equality assertion failed<br>
- Expected: 3210<br>
- Actual : 3207<br>
- Delta : 0.1<br>
- Failing test file is: pie_chart_100_and_0.ods<br>
<br>
PieChartTest::verify finished in: 8407ms<br>
ColumnBarChartTest::verify finished in: 10112ms<br>
D:/core/chart2/qa/extras/chart2dump/chart2dump.cxx(902) : error : Assertion<br>
Test name: PieChartTest::verify<br>
double equality assertion failed<br>
- Expected: 3210<br>
- Actual : 3207<br>
- Delta : 0.1<br>
- Failing test file is: pie_chart_100_and_0.ods<br>
<br>
Failures !!!<br>
Run: 11 Failure total: 1 Failures: 1 Errors: 0<br>
<br>
Error: a unit test failed, please do one of:<br>
make CppunitTest_chart2_dump CPPUNITTRACE=TRUE # which is a shortcut for the following line<br>
make CppunitTest_chart2_dump CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio<br>
make CppunitTest_chart2_dump CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)<br>
<br>
You can limit the execution to just one particular test by:<br>
<br>
make CppunitTest_chart2_dump CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br>
<br>
make[1]: *** [D:/core/solenv/gbuild/CppunitTest.mk:114: D:/core/workdir/CppunitTest/chart2_dump.test] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
make: *** [Makefile:282: build] Error 2<br>
<br>
Would you like any more debug info or info about my system?<br>
<br>
Thanks<br>
<br>
-Luke<br>
<br>
<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a></blockquote></div>