Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCrashHandler (0.1 sec)

  1. src/runtime/crash_test.go

    	if output != want {
    		t.Fatalf("output:\n%s\n\nwanted:\n%s", output, want)
    	}
    }
    
    func TestCrashHandler(t *testing.T) {
    	testCrashHandler(t, false)
    }
    
    func testDeadlock(t *testing.T, name string) {
    	// External linking brings in cgo, causing deadlock detection not working.
    	testenv.MustInternalLink(t, false)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/runtime/crash_cgo_test.go

    	"internal/goos"
    	"internal/platform"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestCgoCrashHandler(t *testing.T) {
    	t.Parallel()
    	testCrashHandler(t, true)
    }
    
    func TestCgoSignalDeadlock(t *testing.T) {
    	// Don't call t.Parallel, since too much work going on at the
    	// same time can cause the testprogcgo code to overrun its
    	// timeouts (issue #18598).
    
    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