aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime-gdb_test.go
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2016-05-27 17:34:22 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2016-05-27 18:47:08 +0000
commitc340f4867b61d0c9dab167df88f56efc4ed7f17b (patch)
treef942376bb1756a8ef9202880a5791d203e0f6078 /src/runtime/runtime-gdb_test.go
parent6a86dbe75f6d5a135eefbae807d98e856136514f (diff)
downloadgo-c340f4867b61d0c9dab167df88f56efc4ed7f17b.tar.xz
runtime: skip TestGdbBacktrace on netbsd
Also adds missing copyright notice. Updates #15603. Change-Id: Icf4bb45ba5edec891491fe5f0039a8a25125d168 Reviewed-on: https://go-review.googlesource.com/23501 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime-gdb_test.go')
-rw-r--r--src/runtime/runtime-gdb_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index e109fa4528..aabe52da3c 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 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.
+
package runtime_test
import (
@@ -207,6 +211,10 @@ func TestGdbBacktrace(t *testing.T) {
checkGdbEnvironment(t)
checkGdbVersion(t)
+ if runtime.GOOS == "netbsd" {
+ testenv.SkipFlaky(t, 15603)
+ }
+
dir, err := ioutil.TempDir("", "go-build")
if err != nil {
t.Fatalf("failed to create temp directory: %v", err)