Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCgoPanicDeadlock (0.12 sec)

  1. src/runtime/crash_cgo_test.go

    			return
    		}
    
    		tot1 += d1
    		tot2 += d2
    	}
    
    	t.Errorf("cgo check too slow: got %v, expected at most %v", tot2/tries, (tot1/tries)*20)
    }
    
    func TestCgoPanicDeadlock(t *testing.T) {
    	t.Parallel()
    	// test issue 14432
    	got := runTestProg(t, "testprogcgo", "CgoPanicDeadlock")
    	want := "panic: cgo error\n\n"
    	if !strings.HasPrefix(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)
Back to top