enable tlstest on win32
This commit is contained in:
parent
057e7a85b9
commit
c53c23c5d8
@ -1,6 +1,7 @@
|
||||
arc4random_buf
|
||||
asprintf
|
||||
explicit_bzero
|
||||
inet_pton
|
||||
gettimeofday
|
||||
posix_close
|
||||
posix_connect
|
||||
|
@ -345,8 +345,6 @@ target_link_libraries(timingsafe ${TESTS_LIBS})
|
||||
add_test(timingsafe timingsafe)
|
||||
|
||||
# tlstest
|
||||
if(NOT CMAKE_HOST_WIN32 AND NOT CMAKE_SYSTEM_NAME MATCHES "MINGW")
|
||||
|
||||
set(TLSTEST_SRC tlstest.c)
|
||||
check_function_exists(pipe2 HAVE_PIPE2)
|
||||
if(HAVE_PIPE2)
|
||||
@ -363,7 +361,6 @@ else()
|
||||
add_test(tlstest ${CMAKE_CURRENT_SOURCE_DIR}/tlstest.bat)
|
||||
endif()
|
||||
set_tests_properties(tlstest PROPERTIES ENVIRONMENT "srcdir=${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
endif()
|
||||
|
||||
# tls_ext_alpn
|
||||
add_executable(tls_ext_alpn tls_ext_alpn.c)
|
||||
|
@ -333,7 +333,6 @@ check_PROGRAMS += timingsafe
|
||||
timingsafe_SOURCES = timingsafe.c
|
||||
|
||||
# tlstest
|
||||
if !HOST_WIN
|
||||
TESTS += tlstest.sh
|
||||
check_PROGRAMS += tlstest
|
||||
tlstest_SOURCES = tlstest.c
|
||||
@ -341,7 +340,6 @@ if !HAVE_PIPE2
|
||||
tlstest_SOURCES += compat/pipe2.c
|
||||
endif
|
||||
EXTRA_DIST += tlstest.sh tlstest.bat
|
||||
endif
|
||||
|
||||
# tls_ext_alpn
|
||||
TESTS += tls_ext_alpn
|
||||
|
Loading…
x
Reference in New Issue
Block a user