aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_cgo_test.go
diff options
context:
space:
mode:
authorTim Wright <tenortim@gmail.com>2018-03-26 19:00:15 -0700
committerIan Lance Taylor <iant@golang.org>2018-03-27 02:50:29 +0000
commit131901e80d5f73780328d129bd6274237318988c (patch)
treef380beb67f58d7a9fd9628e3d0ba31bd8ca220f9 /src/runtime/crash_cgo_test.go
parent165ebe65585ec7ae63695fab9e7aabaaad1af57c (diff)
downloadgo-131901e80d5f73780328d129bd6274237318988c.tar.gz
go-131901e80d5f73780328d129bd6274237318988c.zip
cmd/go, cmd/link, runtime: enable PIE build mode, cgo race tests on FreeBSD
Fixes #24546 Change-Id: I99ebd5bc18e5c5e42eee4689644a7a8b02405f31 Reviewed-on: https://go-review.googlesource.com/102616 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r--src/runtime/crash_cgo_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go
index 3b9fedc7a4..fc0cfd9aed 100644
--- a/src/runtime/crash_cgo_test.go
+++ b/src/runtime/crash_cgo_test.go
@@ -343,7 +343,7 @@ func TestCgoPprofThreadNoTraceback(t *testing.T) {
}
func TestRaceProf(t *testing.T) {
- if runtime.GOOS != "linux" || runtime.GOARCH != "amd64" {
+ if (runtime.GOOS != "linux" && runtime.GOOS != "freebsd") || runtime.GOARCH != "amd64" {
t.Skipf("not yet supported on %s/%s", runtime.GOOS, runtime.GOARCH)
}
@@ -372,7 +372,7 @@ func TestRaceProf(t *testing.T) {
func TestRaceSignal(t *testing.T) {
t.Parallel()
- if runtime.GOOS != "linux" || runtime.GOARCH != "amd64" {
+ if (runtime.GOOS != "linux" && runtime.GOOS != "freebsd") || runtime.GOARCH != "amd64" {
t.Skipf("not yet supported on %s/%s", runtime.GOOS, runtime.GOARCH)
}