summaryrefslogtreecommitdiff
path: root/vendor/github.com/cespare/xxhash/v2/testall.sh
blob: 94b9c443987cf00bf6a5a0f785f81632d29b45e5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -eu -o pipefail

# Small convenience script for running the tests with various combinations of
# arch/tags. This assumes we're running on amd64 and have qemu available.

go test ./...
go test -tags purego ./...
GOARCH=arm64 go test
GOARCH=arm64 go test -tags purego