Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CgoExternalThreadPanic (0.44 sec)

  1. src/runtime/crash_cgo_test.go

    	}
    }
    
    func TestCgoExternalThreadPanic(t *testing.T) {
    	t.Parallel()
    	if runtime.GOOS == "plan9" {
    		t.Skipf("no pthreads on %s", runtime.GOOS)
    	}
    	got := runTestProg(t, "testprogcgo", "CgoExternalThreadPanic")
    	want := "panic: BOOM"
    	if !strings.Contains(got, want) {
    		t.Fatalf("want failure containing %q. output:\n%s\n", want, got)
    	}
    }
    
    func TestCgoExternalThreadSIGPROF(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top