summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-04-07 08:56:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-04-07 08:56:29 -0700
commitc6a8c30c228c32b3b32442eeb39d33b64db56f4f (patch)
tree0b051df10f9504fb283355f4291a0327b6ec9c1e /Makefile
parent5713f6b25adf37c528c73c34527a165c7ba68be8 (diff)
For afl target, don't build tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 47ac06f..84c2e2f 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ prof:
afl:
@[ -n "$(AFL_PATH)" ] || { echo '$$AFL_PATH not set'; false; }
mkdir -p $(BUILDDIR)
- cd $(BUILDDIR) && cmake .. -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang
+ cd $(BUILDDIR) && cmake .. -DCMARK_TESTS=0 -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang
$(MAKE)
$(AFL_PATH)/afl-fuzz \
-i test/afl_test_cases \