diff options
author | EuAndreh <eu@euandre.org> | 2024-10-02 08:21:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-02 08:33:47 -0300 |
commit | c8f256f633d6e94839e95cafc0c18c22886bae01 (patch) | |
tree | d249e20eb5b05c1484899aa28773ce33ad2d8e12 /mkdeps.sh | |
parent | tests/golite.go: Add explicit "deps" variable (diff) | |
download | golite-c8f256f633d6e94839e95cafc0c18c22886bae01.tar.gz golite-c8f256f633d6e94839e95cafc0c18c22886bae01.tar.xz |
Makefile: Add fuzz target setup
Diffstat (limited to 'mkdeps.sh')
-rwxr-xr-x | mkdeps.sh | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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/' |