mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-24 12:34:53 +08:00
oss-fuzz: Add unit test build
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
This commit is contained in:
parent
1cc6cf5a09
commit
b2535ce14c
@ -5,4 +5,8 @@ $CXX $CFLAGS $CXXFLAGS \
|
|||||||
-c $SRC/fast_float/fuzz/from_chars.cc -o from_chars.o
|
-c $SRC/fast_float/fuzz/from_chars.cc -o from_chars.o
|
||||||
|
|
||||||
$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE from_chars.o \
|
$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE from_chars.o \
|
||||||
-o $OUT/from_chars
|
-o $OUT/from_chars
|
||||||
|
|
||||||
|
# Build unit tests
|
||||||
|
cmake -DFASTFLOAT_TEST=ON -DCMAKE_EXE_LINKER_FLAGS="-lpthread"
|
||||||
|
make
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user