Enable mbedTLS NIST modular reduction and report per-phase handshake timings. Add handshake-loop regression tests and a certificate verification benchmark, and document the full kernel and APP package requirement.
18 lines
985 B
Batchfile
18 lines
985 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0.."
|
|
if not exist artifacts\wss mkdir artifacts\wss
|
|
where cl >nul 2>nul
|
|
if errorlevel 1 call "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat" >nul
|
|
if errorlevel 1 exit /b 1
|
|
cl /nologo /W4 /WX /D_CRT_SECURE_NO_WARNINGS /TC /Iql-application\threadx\interface\custom_app\inc /Iql-application\threadx\interface\custom_app\lib\librws\inc tools\test_wss.c ql-application\threadx\interface\custom_app\talkingq_wss.c ql-application\threadx\interface\custom_app\lib\librws\src\rws_handshake.c /Foartifacts\wss\ /Feartifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
artifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_io.py
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_receive.py
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_handshake.py
|
|
exit /b %errorlevel%
|