mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 02:44:20 +01:00
Support verbose output of the test suites
generate add ctest test-suites, with the --verbose argument to be given to the test suites. The verbose output will be shown **only** if ctest is run with `-v` parameter The verbose argument is to the test-suites, only when run through `ctest`
This commit is contained in:
parent
46624a91fc
commit
08a1936031
@ -31,7 +31,7 @@ function(add_test_suite suite_name)
|
|||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
add_executable(test_suite_${data_name} test_suite_${data_name}.c)
|
add_executable(test_suite_${data_name} test_suite_${data_name}.c)
|
||||||
target_link_libraries(test_suite_${data_name} ${libs})
|
target_link_libraries(test_suite_${data_name} ${libs})
|
||||||
add_test(${data_name}-suite test_suite_${data_name})
|
add_test(${data_name}-suite test_suite_${data_name} --verbose)
|
||||||
endfunction(add_test_suite)
|
endfunction(add_test_suite)
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")
|
||||||
|
Loading…
Reference in New Issue
Block a user