CppunitTest_sc_shapetest failing after cd966aac6e
Luke Benes
lukebenes at hotmail.com
Tue Jan 26 18:16:38 UTC 2021
After https://cgit.freedesktop.org/libreoffice/core/commit/?id=cd966aac6e
tdf#137033 improve save of cell anchored shapes
CppunitTest_sc_shapetest fails with the errors below. I can reliable reproduce the failure and the verified the bisect with a 'make clean' between builds.
Let me know if you need any additional information about my system or debug info. I'm seeing this failure on both x86/x86_64, release/debug builds, and on 2 different PCs. Also setting scaling to 100% does not fix this.
I am surprised that the build bots missed this. Are all windows bots doing a 'make check' now that it is required?
-Luke
[_RUN_____] sc_apitest::ScShapeTest::testTdf137033_FlipHori_Resize
sc_apitest::ScShapeTest::testTdf137033_FlipHori_Resize finished in: 5081ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf137033_RotShear_ResizeHide
sc_apitest::ScShapeTest::testTdf137033_RotShear_ResizeHide finished in: 3500ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf137033_RotShear_Hide
sc_apitest::ScShapeTest::testTdf137033_RotShear_Hide finished in: 4512ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline
D:/core/sc/qa/unit/scshapetest.cxx:145:sc_apitest::ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline
assertion failed
- Expression: std::abs(rExpected.Y() - rActual.Y()) <= nTolerance
- after reload Y expected 6163 actual 8385 Tolerance 1
sc_apitest::ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline finished in: 3299ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf137576_LogicRectInNewMeasureline
sc_apitest::ScShapeTest::testTdf137576_LogicRectInNewMeasureline finished in: 883ms
[_RUN_____] sc_apitest::ScShapeTest::testMeasurelineHideColSave
sc_apitest::ScShapeTest::testMeasurelineHideColSave finished in: 3002ms
[_RUN_____] sc_apitest::ScShapeTest::testHideColsShow
sc_apitest::ScShapeTest::testHideColsShow finished in: 1166ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf138138_MoveCellWithRotatedShape
sc_apitest::ScShapeTest::testTdf138138_MoveCellWithRotatedShape finished in: 2437ms
[_RUN_____] sc_apitest::ScShapeTest::testLoadVerticalFlip
sc_apitest::ScShapeTest::testLoadVerticalFlip finished in: 979ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf117948_CollapseBeforeShape
sc_apitest::ScShapeTest::testTdf117948_CollapseBeforeShape finished in: 1963ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf137355_UndoHideRows
sc_apitest::ScShapeTest::testTdf137355_UndoHideRows finished in: 1396ms
[_RUN_____] sc_apitest::ScShapeTest::testTdf115655_HideDetail
sc_apitest::ScShapeTest::testTdf115655_HideDetail finished in: 2745ms
[_RUN_____] sc_apitest::ScShapeTest::testFitToCellSize
sc_apitest::ScShapeTest::testFitToCellSize finished in: 840ms
[_RUN_____] sc_apitest::ScShapeTest::testCustomShapeCellAnchoredRotatedShape
sc_apitest::ScShapeTest::testCustomShapeCellAnchoredRotatedShape finished in: 848ms
D:/core/sc/qa/unit/scshapetest.cxx(145) : error : Assertion
Test name: sc_apitest::ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline
assertion failed
- Expression: std::abs(rExpected.Y() - rActual.Y()) <= nTolerance
- after reload Y expected 6163 actual 8385 Tolerance 1
Failures !!!
Run: 14 Failure total: 1 Failures: 1 Errors: 0
[build CUT] svgio
Error: a unit test failed, please do one of:
make CppunitTest_sc_shapetest CPPUNITTRACE=TRUE # which is a shortcut for the following line
make CppunitTest_sc_shapetest CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio
make CppunitTest_sc_shapetest CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)
You can limit the execution to just one particular test by:
make CppunitTest_sc_shapetest
More information about the LibreOffice
mailing list