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
|
|
|
|
2019-01-07 11:11:47 +00:00
|
|
|
# Shared QA helper libraries
|
2018-10-06 14:35:17 +00:00
|
|
|
add_subdirectory( qa_utils )
|
2019-01-11 22:03:45 +00:00
|
|
|
add_subdirectory( pcbnew_utils )
|
2018-11-07 13:55:20 +00:00
|
|
|
add_subdirectory( unit_test_utils )
|
2018-10-06 14:35:17 +00:00
|
|
|
|
2019-01-07 11:11:47 +00:00
|
|
|
# Unit tests
|
2018-09-25 11:11:10 +00:00
|
|
|
add_subdirectory( common )
|
2019-01-07 11:11:47 +00:00
|
|
|
add_subdirectory( pcbnew )
|
2019-01-09 14:35:42 +00:00
|
|
|
add_subdirectory( eeschema )
|
2019-01-07 11:11:47 +00:00
|
|
|
|
2018-12-24 14:16:20 +00:00
|
|
|
# Utility/debugging/profiling programs
|
|
|
|
add_subdirectory( common_tools )
|
2019-01-22 14:47:03 +00:00
|
|
|
add_subdirectory( pcbnew_tools )
|
2019-01-07 11:11:47 +00:00
|
|
|
|
2018-08-03 12:27:03 +00:00
|
|
|
# add_subdirectory( pcb_test_window )
|
2019-01-21 18:42:06 +00:00
|
|
|
add_subdirectory( gal/gal_pixel_alignment )
|