Enable tests on Visual Studio
- add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations
This commit is contained in:
18
tests/ssltest.bat
Normal file
18
tests/ssltest.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
REM ssltest.bat
|
||||
|
||||
set ssltest_bin=Debug\ssltest.exe
|
||||
if not exist %ssltest_bin% exit /b 1
|
||||
|
||||
set openssl_bin=..\apps\openssl\Debug\openssl.exe
|
||||
if not exist %openssl_bin% exit /b 1
|
||||
|
||||
if "%srcdir%"=="" (
|
||||
set srcdir=.
|
||||
)
|
||||
|
||||
%srcdir%\testssl.bat %srcdir%\server.pem %srcdir%\server.pem %srcdir%\ca.pem ^
|
||||
%ssltest_bin% %openssl_bin%
|
||||
|
||||
endlocal
|
Reference in New Issue
Block a user