1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-26 23:10:42 +02:00
Files
starter/vendor/github.com/go-faster/errors/go.test.sh
2023-05-19 16:05:54 +03:00

13 lines
225 B
Bash

#!/usr/bin/env bash
set -e
# test with -race
echo "with race:"
go test --timeout 5m -race ./...
# test with noerrtrace build tag
tag=noerrtrace
echo "with ${tag} build tag:"
go test -tags "${tag}" --timeout 5m -race ./...