Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCgodata (0.28 sec)

  1. src/cmd/nm/nm_test.go

    		CSym  bool
    		Found bool
    	}
    	var syms = []symType{
    		{"B", "mylib.Testdata", false, false},
    		{"T", "mylib.Testfunc", false, false},
    	}
    	if iscgo {
    		syms = append(syms, symType{"B", "mylib.TestCgodata", false, false})
    		syms = append(syms, symType{"T", "mylib.TestCgofunc", false, false})
    		if runtime.GOOS == "darwin" || runtime.GOOS == "ios" || (runtime.GOOS == "windows" && runtime.GOARCH == "386") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	}
    }
    
    // testgo sets up for a test that runs testgo.
    func testgo(t *testing.T) *testgoData {
    	t.Helper()
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	return &testgoData{t: t}
    }
    
    // must gives a fatal error if err is not nil.
    func (tg *testgoData) must(err error) {
    	tg.t.Helper()
    	if err != nil {
    		tg.t.Fatal(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top