1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00
Files
os/scripts/unit-test

9 lines
244 B
Plaintext
Raw Normal View History

2016-04-13 11:23:21 -07:00
#!/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