aboutsummaryrefslogtreecommitdiff
path: root/mkdeps.sh
diff options
context:
space:
mode:
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/'