From c8f256f633d6e94839e95cafc0c18c22886bae01 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 2 Oct 2024 08:21:10 -0300 Subject: Makefile: Add fuzz target setup --- mkdeps.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'mkdeps.sh') diff --git a/mkdeps.sh b/mkdeps.sh index ceb57af..8ccfc69 100755 --- a/mkdeps.sh +++ b/mkdeps.sh @@ -7,6 +7,13 @@ export LANG=POSIX.UTF-8 find tests/functional/*.go | varlist 'functional-tests.go' find tests/functional/*.go -not -name extension.go | varlist 'functional-tests-butone.go' -find tests/functional/*.go | sed 's/^\(.*\)\.go$/\1.a:\t\1.go/' -find tests/functional/*.go | sed 's/^\(.*\)\.go$/\1.bin:\t\1.a/' -find tests/functional/*.go | sed 's/^\(.*\)\.go$/\1.bin-check:\t\1.bin/' +find tests/fuzz/*.go | varlist 'fuzz-targets.go' + + +tfiles() { + find tests/functional/*.go tests/fuzz/*.go | sort +} + +tfiles | sed 's/^\(.*\)\.go$/\1.a:\t\1.go/' +tfiles | sed 's/^\(.*\)\.go$/\1.bin:\t\1.a/' +tfiles | sed 's/^\(.*\)\.go$/\1.bin-check:\t\1.bin/' -- cgit v1.2.3