]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: use GOTRACEBACK=system for TestCgoExecSignalMask
authorIan Lance Taylor <iant@golang.org>
Tue, 20 Oct 2020 19:54:20 +0000 (12:54 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Oct 2020 20:17:14 +0000 (20:17 +0000)
Try to get a bit more information to understand #42093.

For #42093

Change-Id: I818feb08d7561151d52eba3e88c418b55b9f9c1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/264018
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/runtime/crash_cgo_test.go

index 4872189f16beeb7631ead4466121633acc12a5b4..b2009840502c4d50b2f34541819eb07d6bb8b697 100644 (file)
@@ -154,7 +154,7 @@ func TestCgoExecSignalMask(t *testing.T) {
        case "windows", "plan9":
                t.Skipf("skipping signal mask test on %s", runtime.GOOS)
        }
-       got := runTestProg(t, "testprogcgo", "CgoExecSignalMask")
+       got := runTestProg(t, "testprogcgo", "CgoExecSignalMask", "GOTRACEBACK=system")
        want := "OK\n"
        if got != want {
                t.Errorf("expected %q, got %v", want, got)