Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for buildTestProg (0.52 sec)

  1. src/runtime/crash_test.go

    	err  error
    }
    
    func runTestProg(t *testing.T, binary, name string, env ...string) string {
    	if *flagQuick {
    		t.Skip("-quick")
    	}
    
    	testenv.MustHaveGoBuild(t)
    	t.Helper()
    
    	exe, err := buildTestProg(t, binary)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	return runBuiltTestProg(t, exe, name, env...)
    }
    
    func runBuiltTestProg(t *testing.T, exe, name string, env ...string) string {
    	t.Helper()
    
    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/proc_test.go

    	} else if output != want {
    		t.Errorf("want %q, got %q", want, output)
    	}
    }
    
    func TestLockOSThreadTemplateThreadRace(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    
    	exe, err := buildTestProg(t, "testprog")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	iterations := 100
    	if testing.Short() {
    		// Reduce run time to ~100ms, with much lower probability of
    		// catching issues.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top