Skip to content

Commit a382bd3

Browse files
AdamKorczgittiver
authored andcommitted
update OSS-Fuzz build script
Signed-off-by: Adam Korczynski <[email protected]>
1 parent d3038b6 commit a382bd3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/fuzz/build.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
cd $SRC/crow
2-
mkdir -p build
3-
cmake -S . -B build -DCROW_BUILD_FUZZER=ON -DCROW_BUILD_EXAMPLES=OFF -DCROW_BUILD_TESTS=OFF && cmake --build build --target install
4-
5-
# Build the corpora
6-
cd tests/fuzz
1+
mkdir -p build && cd build
2+
cmake .. -DCROW_BUILD_FUZZER=ON -DCROW_BUILD_EXAMPLES=OFF -DCROW_BUILD_TESTS=ON
3+
cmake --build . --target install
4+
make -j$(nproc)
5+
cd ../tests/fuzz
76
zip -q $OUT/template_fuzzer_seed_corpus.zip template_corpus/*
87
zip -q $OUT/request_fuzzer_seed_corpus.zip html_corpus/*

0 commit comments

Comments
 (0)