Remove old adding of tests

No longer needed.
This commit is contained in:
Ghostkeeper 2017-03-13 12:40:47 +01:00
parent 1d22d87ae0
commit e83fd3a321
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -10,9 +10,6 @@ set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY
# Tests
include(CuraTests)
# Note that we use exit 0 here to not mark the build as a failure on test failure
add_custom_target(tests)
add_custom_command(TARGET tests POST_BUILD COMMAND "PYTHONPATH=${CMAKE_SOURCE_DIR}/../Uranium/:${CMAKE_SOURCE_DIR}" ${PYTHON_EXECUTABLE} -m pytest -r a --junitxml=${CMAKE_BINARY_DIR}/junit.xml ${CMAKE_SOURCE_DIR} || exit 0)
option(CURA_DEBUGMODE "Enable debug dialog and other debug features" OFF)
if(CURA_DEBUGMODE)