Share the APP/kernel TLS profile, enable ECDSA and AES-GCM, and use RTC time for certificate validation. Fix WANT_READ/WANT_WRITE handling during WebSocket upgrade and add ABI, certificate, and receive regression checks.
16 lines
881 B
Batchfile
16 lines
881 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
|
|
exit /b %errorlevel%
|