Commit 884ebac4 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Print list of broken tests in one go

These used to be randomly in the middle of the configure output, now
they are moved together to be printed in the beginning.
parent 68ee01ed
......@@ -130,6 +130,8 @@ message(STATUS "Release build: ${RELEASE_BUILD}")
# create test make targets
enable_testing()
# collect list of broken tests, empty here to start fresh with each cmake run
set(KRITA_BROKEN_TESTS "" CACHE INTERNAL "KRITA_BROKEN_TESTS")
############
#############
......@@ -608,8 +610,6 @@ include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/interfaces
)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
add_subdirectory(libs)
add_subdirectory(plugins)
add_subdirectory(benchmarks)
......@@ -622,4 +622,9 @@ configure_file(config-ocio.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ocio.h )
check_function_exists(powf HAVE_POWF)
configure_file(config-powf.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-powf.h)
message("\nBroken tests:")
foreach(tst ${KRITA_BROKEN_TESTS})
message(" * ${tst}")
endforeach()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -24,7 +24,9 @@ function(KRITA_ADD_BROKEN_UNIT_TEST)
endif()
set(_testname ${ARG_NAME_PREFIX}${_targetname})
MESSAGE(" * Unittest " ${_testname} " is broken!")
# add test to the global list of disabled tests
set(KRITA_BROKEN_TESTS ${KRITA_BROKEN_TESTS} ${_testname} CACHE INTERNAL "KRITA_BROKEN_TESTS")
set(gui_args)
if(ARG_GUI)
......
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