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