← Back to team overview

kicad-developers team mailing list archive

Re: QA broken for arcs

 

Le 03/01/2020 à 20:57, Seth Hillbrand a écrit :
> Hi Folks-
> 
> It looks like a recent commit broke the QA tests for Arc bbox checks.

Commit 5707e6eac should fix this issue.

> 
> 
> ../../qa/common/geometry/test_shape_arc.cpp(91): error: in
> "ShapeArc/BasicCPAGeom": check KI_TEST::IsBoxWithinTol<BOX2I>(
> aArc.BBox(), aProps.m_bbox, pos_tol ) has failed for ( BOX[ [ 273 | 100
> ] + [ 27 | 100 ] ], BOX[ [ 100 | 100 ] + [ 200 | 100 ] ], 1 )
> Failure occurred in a following context:
> C(100,200) 0 - 30 degree
> ../../qa/common/geometry/test_shape_arc.cpp(91): error: in
> "ShapeArc/BasicCPAGeom": check KI_TEST::IsBoxWithinTol<BOX2I>(
> aArc.BBox(), aProps.m_bbox, pos_tol ) has failed for ( BOX[ [ 273 | 100
> ] + [ 27 | 100 ] ], BOX[ [ 100 | 100 ] + [ 200 | 100 ] ], 1 )
> Failure occurred in a following context:
> C(100,200) 0 - 30 degree
> ../../qa/common/geometry/test_shape_arc.cpp(91): error: in
> "ShapeArc/BasicCPAGeom": check KI_TEST::IsBoxWithinTol<BOX2I>(
> aArc.BBox(), aProps.m_bbox, pos_tol ) has failed for ( BOX[ [ -17320 |
> 9999 ] + [ 34640 | 10000 ] ], BOX[ [ -17320 | 0 ] + [ 34640 | 20000 ] ], 1 )
> Failure occurred in a following context:
> C(0,0) 30 + 120 degree
> ../../qa/common/geometry/test_shape_arc.cpp(91): error: in
> "ShapeArc/BasicCPAGeom": check KI_TEST::IsBoxWithinTol<BOX2I>(
> aArc.BBox(), aProps.m_bbox, pos_tol ) has failed for ( BOX[ [ -17320 |
> 9999 ] + [ 34640 | 10000 ] ], BOX[ [ -17320 | 0 ] + [ 34640 | 20000 ] ], 1 )
> Failure occurred in a following context:
> C(0,0) 30 + 120 degree
> 
> *** 4 failures are detected in the test module "Common library module tests"
> 
> 
> KiCad Services Corporation KiCad Services Corporation Logo
> Seth Hillbrand
> *Lead Developer*
> +1-530-302-5483‬ <tel:+12126039372>
> Davis, CA
> www.kipro-pcb.com <http://www.kipro-pcb.com/>    info@xxxxxxxxxxxxx
> <mailto:info@xxxxxxxxxxxxx>
> https://twitter.com/KiProEDA <https://twitter.com/KiProEDA>
> https://www.linkedin.com/company/kicad
> <https://www.linkedin.com/company/kicad>
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


-- 
Jean-Pierre CHARRAS


References