aports/community/mbedtls/verbose-testsuite.patch
Daniel Sabogal 156d008505 community/mbedtls: security upgrade to 2.4.0
With verbosity disabled (default), the testsuite attempts to redirect
stdout by assigning another FILE pointer to it. Enabling verbosity
seems to be the simplest workaround to avoid this code path.
2016-11-04 06:56:59 +00:00

12 lines
499 B
Diff

--- mbedtls-2.4.0/tests/CMakeLists.txt.orig
+++ mbedtls-2.4.0/tests/CMakeLists.txt
@@ -31,7 +31,7 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_executable(test_suite_${data_name} test_suite_${data_name}.c)
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)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)