From c39439c53fe1344830446226201e9d96b3ee6a77 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 13 Apr 2020 02:47:11 +1000 Subject: [PATCH] cmd/compile: run TestLogOpt for riscv64 on amd64 Run TestLogOpt for riscv64 on amd64, as is done for other architectures. This would have caught the test failure on riscv64 introduced in 47ade08141b23cfeafed92943e16012d5dc5eb8b. Change-Id: If29dea2ef383b087154d046728f6d1c96811f5a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/227806 Run-TryBot: Joel Sing TryBot-Result: Gobot Gobot Reviewed-by: David Chase --- src/cmd/compile/internal/logopt/logopt_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/logopt/logopt_test.go b/src/cmd/compile/internal/logopt/logopt_test.go index 800ac61903..df3e70a614 100644 --- a/src/cmd/compile/internal/logopt/logopt_test.go +++ b/src/cmd/compile/internal/logopt/logopt_test.go @@ -127,7 +127,7 @@ func s15a8(x *[15]int64) [15]int64 { arches := []string{runtime.GOARCH} goos0 := runtime.GOOS if runtime.GOARCH == "amd64" { // Test many things with "linux" (wasm will get "js") - arches = []string{"arm", "arm64", "386", "amd64", "mips", "mips64", "ppc64le", "s390x", "wasm"} + arches = []string{"arm", "arm64", "386", "amd64", "mips", "mips64", "ppc64le", "riscv64", "s390x", "wasm"} goos0 = "linux" } -- 2.48.1