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-10-06 15:35:17 +01:00
|
|
|
# common QA helpers
|
|
|
|
add_subdirectory( qa_utils )
|
2018-11-07 13:55:20 +00:00
|
|
|
add_subdirectory( unit_test_utils )
|
2018-10-06 15:35:17 +01:00
|
|
|
|
2018-09-25 12:11:10 +01:00
|
|
|
add_subdirectory( common )
|
2018-07-09 14:28:40 +01:00
|
|
|
add_subdirectory( shape_poly_set_refactor )
|
2018-10-06 15:35:17 +01:00
|
|
|
add_subdirectory( pcb_parse_input )
|
2018-08-03 14:27:03 +02:00
|
|
|
# add_subdirectory( pcb_test_window )
|
|
|
|
# add_subdirectory( polygon_triangulation )
|
2019-01-06 16:17:44 -08:00
|
|
|
# add_subdirectory( polygon_generator )
|