aboutsummaryrefslogtreecommitdiff
path: root/go/patch/go6.patch
blob: 7f1e4c0ef4fc3bc5df5dfaa2141e5526867b0a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
runtime: deadlock detection does not work when using external linker.

--- src/runtime/crash_test.go
+++ src/runtime/crash_test.go
@@ -177,22 +177,27 @@ func testDeadlock(t *testing.T, name string) {
 }
 
 func TestSimpleDeadlock(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	testDeadlock(t, "SimpleDeadlock")
 }
 
 func TestInitDeadlock(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	testDeadlock(t, "InitDeadlock")
 }
 
 func TestLockedDeadlock(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	testDeadlock(t, "LockedDeadlock")
 }
 
 func TestLockedDeadlock2(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	testDeadlock(t, "LockedDeadlock2")
 }
 
 func TestGoexitDeadlock(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	output := runTestProg(t, "testprog", "GoexitDeadlock")
 	want := "no goroutines (main called runtime.Goexit) - deadlock!"
 	if !strings.Contains(output, want) {
@@ -229,6 +234,7 @@ panic: again
 }
 
 func TestGoexitCrash(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	output := runTestProg(t, "testprog", "GoexitExit")
 	want := "no goroutines (main called runtime.Goexit) - deadlock!"
 	if !strings.Contains(output, want) {
@@ -285,6 +291,7 @@ func TestBreakpoint(t *testing.T) {
 }
 
 func TestGoexitInPanic(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	// see issue 8774: this code used to trigger an infinite recursion
 	output := runTestProg(t, "testprog", "GoexitInPanic")
 	want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
@@ -303,6 +310,7 @@ func TestPanicAfterGoexit(t *testing.T) {
 }
 
 func TestRecoveredPanicAfterGoexit(t *testing.T) {
+	t.Skip("deadlock detection fails with external linker")
 	output := runTestProg(t, "testprog", "RecoveredPanicAfterGoexit")
 	want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
 	if !strings.HasPrefix(output, want) {
--- test/fixedbugs/bug429_run.go
+++ test/fixedbugs/bug429_run.go
@@ -1,5 +1,5 @@
 // +build !nacl
-// runtarget
+// skip
 
 // Copyright 2014 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style