mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
This is the first test for a generic test suite for geometric functions. The tests run are for fillet corners of SHAPE_POLY_SETS. Previously, SHAPE_POLY_SET::Fillet was tested against CPolyLine::Fillet to ensure compatibility. However, thse two functions now have different interfaces and are not directly comparable. Also, this depended on CPolyLine::Fillet being correct, which was not tested. Instead, test SHAPE_POLY_SET::Fillet using tests against geometric constraints, independent of any other fillet implementation.
19 lines
541 B
CMake
19 lines
541 B
CMake
if( KICAD_SCRIPTING_MODULES )
|
|
|
|
# Test that runs the QA tests through scripting
|
|
add_test( NAME qa_python
|
|
COMMAND ${PYTHON_EXECUTABLE} test.py
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
set_property( TEST qa_python
|
|
PROPERTY ENVIRONMENT "PYTHONPATH=${CMAKE_BINARY_DIR}/pcbnew${PYTHON_QA_PATH}"
|
|
)
|
|
|
|
endif()
|
|
|
|
add_subdirectory( geometry )
|
|
add_subdirectory( shape_poly_set_refactor )
|
|
add_subdirectory( pcb_test_window )
|
|
add_subdirectory( polygon_triangulation )
|
|
add_subdirectory( polygon_generator ) |