Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runTestProg (0.09 sec)

  1. src/runtime/crash_cgo_test.go

    		t.Skip("Skipping in short mode") // takes up to 64 seconds
    	}
    	got := runTestProg(t, "testprogcgo", "CgoSignalDeadlock")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got:\n%s", want, got)
    	}
    }
    
    func TestCgoTraceback(t *testing.T) {
    	t.Parallel()
    	got := runTestProg(t, "testprogcgo", "CgoTraceback")
    	want := "OK\n"
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/runtime/crash_test.go

    func TestVDSO(t *testing.T) {
    	t.Parallel()
    	output := runTestProg(t, "testprog", "SignalInVDSO")
    	want := "success\n"
    	if output != want {
    		t.Fatalf("output:\n%s\n\nwanted:\n%s", output, want)
    	}
    }
    
    func testCrashHandler(t *testing.T, cgo bool) {
    	type crashTest struct {
    		Cgo bool
    	}
    	var output string
    	if cgo {
    		output = runTestProg(t, "testprogcgo", "Crash")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/runtime/gc_test.go

    	"time"
    	"unsafe"
    )
    
    func TestGcSys(t *testing.T) {
    	t.Skip("skipping known-flaky test; golang.org/issue/37331")
    	if os.Getenv("GOGC") == "off" {
    		t.Skip("skipping test; GOGC=off in environment")
    	}
    	got := runTestProg(t, "testprog", "GCSys")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    func TestGcDeepNesting(t *testing.T) {
    	type T [2][2][2][2][2][2][2][2][2][2]*int
    	a := new(T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top