Moved QA to root.
This commit is contained in:
parent
741bfb685b
commit
15bfac3f4e
|
@ -513,6 +513,7 @@ add_subdirectory( potrace )
|
||||||
add_subdirectory( bitmap2component )
|
add_subdirectory( bitmap2component )
|
||||||
add_subdirectory( pcb_calculator )
|
add_subdirectory( pcb_calculator )
|
||||||
add_subdirectory( tools )
|
add_subdirectory( tools )
|
||||||
|
add_subdirectory( qa )
|
||||||
#add_subdirectory( new )
|
#add_subdirectory( new )
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -393,14 +393,6 @@ if( KICAD_SCRIPTING_MODULES )
|
||||||
${Boost_LIBRARIES} # must follow GITHUB
|
${Boost_LIBRARIES} # must follow GITHUB
|
||||||
)
|
)
|
||||||
|
|
||||||
# create .i files from XML doxygen parsing, docstrings.i will include all of them
|
|
||||||
add_custom_target( qa
|
|
||||||
COMMAND PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR} ${PYTHON_EXECUTABLE} test.py
|
|
||||||
|
|
||||||
COMMENT "running qa"
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripting/qa
|
|
||||||
)
|
|
||||||
|
|
||||||
if( MAKE_LINK_MAPS )
|
if( MAKE_LINK_MAPS )
|
||||||
# generate a link map with cross reference
|
# generate a link map with cross reference
|
||||||
set_target_properties( _pcbnew PROPERTIES LINK_FLAGS "-Wl,-cref -Wl,-Map=_pcbnew.map" )
|
set_target_properties( _pcbnew PROPERTIES LINK_FLAGS "-Wl,-cref -Wl,-Map=_pcbnew.map" )
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
if( KICAD_SCRIPTING_MODULES )
|
||||||
|
|
||||||
|
# build target that runs the QA tests through scripting
|
||||||
|
add_custom_target( qa
|
||||||
|
COMMAND PYTHONPATH=${CMAKE_BINARY_DIR}/pcbnew ${PYTHON_EXECUTABLE} test.py
|
||||||
|
|
||||||
|
COMMENT "running qa"
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
endif()
|
Loading…
Reference in New Issue