mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 22:19:14 +00:00
11 lines
291 B
Bash
Executable File
11 lines
291 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo 'set -eu' > test.sh
|
|
|
|
for p in $(go list ./...); do
|
|
dir=".${p#github.com/ncruces/go-sqlite3}"
|
|
name="$(basename "$p").test"
|
|
(cd ${dir}; GOOS=freebsd go test -c)
|
|
[ -f "${dir}/${name}" ] && echo "(cd ${dir}; ./${name} -test.v)" >> test.sh
|
|
done |