2014-02-02 22:50:45 +01:00
|
|
|
if( KICAD_SCRIPTING_MODULES )
|
|
|
|
|
2018-07-09 15:03:02 +01:00
|
|
|
# Test that runs the QA tests through scripting
|
|
|
|
add_test( NAME qa_python
|
|
|
|
COMMAND ${PYTHON_EXECUTABLE} test.py
|
2014-02-02 22:50:45 +01:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
2018-07-09 15:03:02 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set_property( TEST qa_python
|
|
|
|
PROPERTY ENVIRONMENT "PYTHONPATH=${CMAKE_BINARY_DIR}/pcbnew${PYTHON_QA_PATH}"
|
|
|
|
)
|
2014-02-02 22:50:45 +01:00
|
|
|
|
|
|
|
endif()
|
2017-03-07 13:11:24 +01:00
|
|
|
|
2018-07-09 12:54:39 +01:00
|
|
|
add_subdirectory( geometry )
|
2018-07-09 14:28:40 +01:00
|
|
|
add_subdirectory( shape_poly_set_refactor )
|
2017-11-23 17:20:27 +01:00
|
|
|
add_subdirectory( pcb_test_window )
|
2017-11-29 20:06:22 +01:00
|
|
|
add_subdirectory( polygon_triangulation )
|
|
|
|
add_subdirectory( polygon_generator )
|