mirror of
https://github.com/rancher/os.git
synced 2025-06-24 14:01:34 +00:00
9 lines
244 B
Bash
Executable File
9 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
PACKAGES="$(find -name '*.go' | xargs -I{} dirname {} | cut -f2 -d/ | sort -u | grep -Ev '(^\.$|.git|.trash-cache|vendor)' | sed -e 's!^!./!' -e 's!$!/...!')"
|
|
|
|
go test -race -cover -tags=test $PACKAGES
|