Fix Windows tests within CMake

This commit is contained in:
Don
2018-03-20 15:55:41 -07:00
parent 0263e69a93
commit 644c1097a8
9 changed files with 66 additions and 76 deletions

View File

@@ -2,13 +2,10 @@
setlocal enabledelayedexpansion
REM tlstest.bat
set tlstest_bin=Debug\tlstest.exe
set tlstest_bin=%1
set tlstest_bin=%tlstest_bin:/=\%
if not exist %tlstest_bin% exit /b 1
if "%srcdir%"=="" (
set srcdir=.
)
%tlstest_bin% %srcdir%\ca.pem %srcdir%\server.pem %srcdir%\server.pem
if !errorlevel! neq 0 (
exit /b 1