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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user