diff options
author | Joel Sing <joel@sing.id.au> | 2020-01-29 05:30:19 +1100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2020-01-29 02:43:35 +0000 |
commit | 212c0bf24c299616f24880401a621a31c9099b8c (patch) | |
tree | d34ed0449d4df8e65e88deadcdc7ed9f8f6dffda /test/live.go | |
parent | e7f9e17b7927cad7a93c5785e864799e8d9b4381 (diff) | |
download | go-212c0bf24c299616f24880401a621a31c9099b8c.tar.gz go-212c0bf24c299616f24880401a621a31c9099b8c.zip |
test: disable the live test on riscv64
This test expects that open-coded defers are enabled, which is not currently
the case on riscv64.
Updates issue #27532 and #36786.
Change-Id: I94bb558c5b0734b4cfe5ae12873be81026009bcf
Reviewed-on: https://go-review.googlesource.com/c/go/+/216777
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/live.go')
-rw-r--r-- | test/live.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/live.go b/test/live.go index 32c397f4a9..02e0fd51e5 100644 --- a/test/live.go +++ b/test/live.go @@ -1,8 +1,13 @@ // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off -// +build !ppc64,!ppc64le +// +build !ppc64,!ppc64le,!riscv64 + // ppc64 needs a better tighten pass to make f18 pass // rescheduling checks need to be turned off because there are some live variables across the inserted check call +// TODO(jsing): these tests assume that open-coded defers are enabled, +// which is not currently the case on riscv64. Re-enable this test once +// open-coded defers are available - golang.org/issues/36786. + // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. |