diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-22 14:28:57 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-22 14:28:57 +0000 |
commit | ed99905e1d89e84b74a07a55a46270d1f9f27991 (patch) | |
tree | 0d1aa2fdcb45caeb36ca00e366f40ccb5d360b24 /libgo/go/runtime/crash_unix_test.go | |
parent | 2a208bc2570b07b64deb1d549332e5d981c867bc (diff) | |
download | gcc-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.go | 2 |
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) |