From b4368bf9665b2ee1bde968fa5400716766c60ed0 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Thu, 10 Aug 2023 11:09:15 -0700 Subject: [PATCH] *: Fix ppc64le test runs 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 fd9672e1ef..7e756a4dd5 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 a84d73abb3..ea5666629d 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