🔊 add debug output to tests

This commit is contained in:
Niels Lohmann 2020-07-21 12:44:38 +02:00
parent b1903fff1f
commit 8046754c15
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -160,7 +160,7 @@ foreach(file ${files})
endif() endif()
add_test(NAME "${testcase}" add_test(NAME "${testcase}"
COMMAND ${testcase} ${DOCTEST_TEST_FILTER} --no-skip COMMAND ${testcase} ${DOCTEST_TEST_FILTER} --no-skip -s
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
) )
set_tests_properties("${testcase}" PROPERTIES LABELS "all" FIXTURES_REQUIRED TEST_DATA) set_tests_properties("${testcase}" PROPERTIES LABELS "all" FIXTURES_REQUIRED TEST_DATA)