1 #!/bin/bash 2 set -eu -o pipefail 3 4 # Small convenience script for running the tests with various combinations of 5 # arch/tags. This assumes we're running on amd64 and have qemu available. 6 7 go test ./... 8 go test -tags purego ./... 9 GOARCH=arm64 go test 10 GOARCH=arm64 go test -tags purego 11