summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-27 02:30:16 -0300
committerEuAndreh <eu@euandre.org>2025-05-27 02:30:16 -0300
commit8cba50466b837d2f4149ca22d6645f6d6127c63a (patch)
treed2c4a1956d0b5d543f1d1e37d86e939889bf6171
parentmeta.capim: Add with :dependencies key (diff)
downloaduuid-main.tar.gz
uuid-main.tar.xz
Makefile: Add switch for picking number of parallel fuzz workersHEADmain
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55c499f..cd375a3 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ DESTDIR =
LDLIBS = --static
GOCFLAGS = -I $(GOLIBDIR)
GOLDFLAGS = -L $(GOLIBDIR)
+N = `nproc`
@@ -137,7 +138,7 @@ check: check-unit check-integration
FUZZSEC=1
fuzz/main.bin-check = $(fuzz/main.go:.go=.bin-check)
$(fuzz/main.bin-check):
- $(EXEC)$*.bin --test.fuzztime=$(FUZZSEC)s \
+ $(EXEC)$*.bin --test.fuzztime=$(FUZZSEC)s --test.parallel=$N \
--test.fuzz='.*' --test.fuzzcachedir=tests/fuzz/corpus
fuzz: $(fuzz/main.bin-check)