[uwebsockets] Hold building script at main repo (#2517)

This commit is contained in:
Alex Hultman 2019-06-16 17:53:27 +02:00 committed by Abhishek Arya
parent a3c935fe9c
commit 179d9732a2
1 changed files with 1 additions and 11 deletions

View File

@ -15,14 +15,4 @@
################################################################################
cd fuzzing
# "Unit tests"
$CXX $CXXFLAGS -std=c++17 -O3 WebSocket.cpp -o $OUT/WebSocket $LIB_FUZZING_ENGINE
$CXX $CXXFLAGS -std=c++17 -O3 Http.cpp -o $OUT/Http $LIB_FUZZING_ENGINE
$CXX $CXXFLAGS -std=c++17 -O3 PerMessageDeflate.cpp -o $OUT/PerMessageDeflate $LIB_FUZZING_ENGINE -lz
# "Integration tests"
$CC $CFLAGS -DLIBUS_NO_SSL -c -O3 uSocketsMock.c
$CXX $CXXFLAGS -std=c++17 -O3 -DUWS_NO_ZLIB -DLIBUS_NO_SSL -I../src -I../uSockets/src MockedHelloWorld.cpp uSocketsMock.o -o $OUT/MockedHelloWorld $LIB_FUZZING_ENGINE
# Too small tests, failing coverage test
# $CXX $CXXFLAGS -std=c++17 -O3 Extensions.cpp -o $OUT/Extensions $LIB_FUZZING_ENGINE
# $CXX $CXXFLAGS -std=c++17 -O3 Handshake.cpp -o $OUT/Handshake $LIB_FUZZING_ENGINE
make oss-fuzz