From e49c81cc5d8e647778154337b7d39e532cc6edb4 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 11 Aug 2023 08:51:28 -0700 Subject: [PATCH] *: Fix ppc64le test runs (#3460) We must pass the build tag through during the 'vet' check, and additionally there was some extra commands at the end of test_linux.sh that were not necessary. --- Makefile | 2 +- _scripts/test_linux.sh | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Makefile b/Makefile index fd9672e1..7e756a4d 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ test: vet @go run _scripts/make.go test -v vet: - @go vet $$(go list ./... | grep -v native) + @go vet -tags exp.linuxppc64le $$(go list -tags exp.linuxppc64le ./... | grep -v native) test-proc-run: @go run _scripts/make.go test -s proc -r $(RUN) diff --git a/_scripts/test_linux.sh b/_scripts/test_linux.sh index a84d73ab..ea566662 100755 --- a/_scripts/test_linux.sh +++ b/_scripts/test_linux.sh @@ -75,12 +75,3 @@ if [ "$version" = "gotip" ]; then else exit $x fi - -export GOARCH=ppc64le -go run _scripts/make.go --tags exp.linuxppc64le -x=$? -if [ "$version" = "gotip" ]; then - exit 0 -else - exit $x -fi