Skip to content

Commit c6a8c30

Browse files
committed
For afl target, don't build tests.
1 parent 5713f6b commit c6a8c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ prof:
7373
afl:
7474
@[ -n "$(AFL_PATH)" ] || { echo '$$AFL_PATH not set'; false; }
7575
mkdir -p $(BUILDDIR)
76-
cd $(BUILDDIR) && cmake .. -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang
76+
cd $(BUILDDIR) && cmake .. -DCMARK_TESTS=0 -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang
7777
$(MAKE)
7878
$(AFL_PATH)/afl-fuzz \
7979
-i test/afl_test_cases \

0 commit comments

Comments
 (0)