mirror of
https://github.com/golang/go
synced 2024-11-11 17:51:49 -07:00
test: disable a couple of precise GC tests for gccgo
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/41610043
This commit is contained in:
parent
e8a1de720f
commit
d12b08d228
@ -23,6 +23,10 @@ func main() {
|
||||
if runtime.GOARCH != "amd64" {
|
||||
return
|
||||
}
|
||||
// Likewise for gccgo.
|
||||
if runtime.Compiler == "gccgo" {
|
||||
return
|
||||
}
|
||||
N := 10
|
||||
count := int32(N)
|
||||
var wg sync.WaitGroup
|
||||
|
@ -31,9 +31,10 @@ func run() error {
|
||||
}
|
||||
|
||||
func main() {
|
||||
// Does not work on 32-bits due to partially conservative GC.
|
||||
// Does not work on 32-bits, or with gccgo, due to partially
|
||||
// conservative GC.
|
||||
// Try to enable when we have fully precise GC.
|
||||
if runtime.GOARCH != "amd64" {
|
||||
if runtime.GOARCH != "amd64" || runtime.Compiler == "gccgo" {
|
||||
return
|
||||
}
|
||||
count = N
|
||||
|
Loading…
Reference in New Issue
Block a user