Commit 15bfac3f authored by Miguel Angel Ajo's avatar Miguel Angel Ajo

Moved QA to root.

parent 741bfb68
...@@ -513,6 +513,7 @@ add_subdirectory( potrace ) ...@@ -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 ) ...@@ -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" )
......
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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment