mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-24 12:34:53 +08:00
Merge pull request #348 from arthurscchan/oss-fuzz-build-add-unit-test
oss-fuzz: Add unit test build
This commit is contained in:
commit
157deaeba5
@ -5,4 +5,8 @@ $CXX $CFLAGS $CXXFLAGS \
|
||||
-c $SRC/fast_float/fuzz/from_chars.cc -o 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