1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 02:31:36 +00:00

More build script changes

This commit is contained in:
Darren Shepherd
2016-05-31 21:11:03 -07:00
parent a14846152b
commit 5bf4d2c117
9 changed files with 43 additions and 16 deletions

View File

@@ -8,4 +8,7 @@ echo Running tests
PACKAGES=". $(find -name '*.go' | xargs -I{} dirname {} | cut -f2 -d/ | sort -u | grep -Ev '(^\.$|.git|.trash-cache|vendor|bin)' | sed -e 's!^!./!' -e 's!$!/...!')"
go test -race -cover -tags=test ${PACKAGES}
if [ "$ARCH" = "amd64" ]; then
RACE="-race"
fi
go test $RACE -cover -tags=test ${PACKAGES}