aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/crash_unix_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-06-22 14:28:57 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-06-22 14:28:57 +0000
commited99905e1d89e84b74a07a55a46270d1f9f27991 (patch)
tree0d1aa2fdcb45caeb36ca00e366f40ccb5d360b24 /libgo/go/runtime/crash_unix_test.go
parent2a208bc2570b07b64deb1d549332e5d981c867bc (diff)
downloadgcc-ed99905e1d89e84b74a07a55a46270d1f9f27991.zip
gcc-ed99905e1d89e84b74a07a55a46270d1f9f27991.tar.gz
gcc-ed99905e1d89e84b74a07a55a46270d1f9f27991.tar.bz2
runtime: adjust tests for gofrontend
- don't run tests that depend on SetCgoTraceback - don't expect a '(' after the function name in a traceback - change the expected name of nested functions in a traceback These tests are not currently run, but they will be soon. Reviewed-on: https://go-review.googlesource.com/46453 From-SVN: r249557
Diffstat (limited to 'libgo/go/runtime/crash_unix_test.go')
-rw-r--r--libgo/go/runtime/crash_unix_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/runtime/crash_unix_test.go b/libgo/go/runtime/crash_unix_test.go
index 67ef334..7a29c1e 100644
--- a/libgo/go/runtime/crash_unix_test.go
+++ b/libgo/go/runtime/crash_unix_test.go
@@ -105,7 +105,7 @@ func TestCrashDumpsAllThreads(t *testing.T) {
// Before https://golang.org/cl/2811 running threads would say
// "goroutine running on other thread; stack unavailable".
out = outbuf.Bytes()
- n := bytes.Count(out, []byte("main.loop("))
+ n := bytes.Count(out, []byte("main.loop"))
if n != 4 {
t.Errorf("found %d instances of main.loop; expected 4", n)
t.Logf("%s", out)