better unittest for IXWebSocketPerMessageDeflateCompressor

This commit is contained in:
Benjamin Sergeant
2020-07-07 21:15:34 -07:00
parent e2180a1f31
commit e9e768a288
2 changed files with 30 additions and 18 deletions

View File

@ -104,8 +104,10 @@ test_server:
# env TEST=Websocket_server make test
# env TEST=Websocket_chat make test
# env TEST=heartbeat make test
test:
mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 .. ; ninja install)
build_test:
mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_TEST=1 .. ; ninja install)
test: build_test
(cd test ; python2.7 run.py -r)
test_make: