aboutsummaryrefslogtreecommitdiff
path: root/mkdeps.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-02 08:21:10 -0300
committerEuAndreh <eu@euandre.org>2024-10-02 08:33:47 -0300
commitc8f256f633d6e94839e95cafc0c18c22886bae01 (patch)
treed249e20eb5b05c1484899aa28773ce33ad2d8e12 /mkdeps.sh
parenttests/golite.go: Add explicit "deps" variable (diff)
downloadgolite-c8f256f633d6e94839e95cafc0c18c22886bae01.tar.gz
golite-c8f256f633d6e94839e95cafc0c18c22886bae01.tar.xz
Makefile: Add fuzz target setup
Diffstat (limited to 'mkdeps.sh')
-rwxr-xr-xmkdeps.sh13
1 files changed, 10 insertions, 3 deletions
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/'