From: Joel Sing Date: Sun, 12 Apr 2020 16:47:11 +0000 (+1000) Subject: cmd/compile: run TestLogOpt for riscv64 on amd64 X-Git-Tag: go1.15beta1~583 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c39439c53fe1344830446226201e9d96b3ee6a77;p=gostls13.git 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 --- 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" }