aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-27 02:33:08 -0300
committerEuAndreh <eu@euandre.org>2025-05-29 05:47:34 -0300
commitb2351328e54d4793d6691382079a9895dc84696d (patch)
tree298fd7d5668191a80a32d37c67d88cac9310a2a5 /Makefile
parentmeta.capim: Add with :dependencies key (diff)
downloadurubu-b2351328e54d4793d6691382079a9895dc84696d.tar.gz
urubu-b2351328e54d4793d6691382079a9895dc84696d.tar.xz
Makefile: Add switch for picking number of parallel fuzz workers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7982f53..3c52833 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ DESTDIR =
LDLIBS = --static
GOCFLAGS = -I $(GOLIBDIR)
GOLDFLAGS = -L $(GOLIBDIR)
+N = `nproc`
@@ -222,7 +223,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)