summaryrefslogtreecommitdiff
path: root/vendor/github.com/cespare/xxhash/v2/testall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/cespare/xxhash/v2/testall.sh')
-rw-r--r--vendor/github.com/cespare/xxhash/v2/testall.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/cespare/xxhash/v2/testall.sh b/vendor/github.com/cespare/xxhash/v2/testall.sh
new file mode 100644
index 000000000..94b9c4439
--- /dev/null
+++ b/vendor/github.com/cespare/xxhash/v2/testall.sh
@@ -0,0 +1,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