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