- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TestCflags (0.22 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func TestCallbackPanicLoop(t *testing.T) { testCallbackPanicLoop(t) } func TestCallbackStack(t *testing.T) { testCallbackStack(t) } func TestCflags(t *testing.T) { testCflags(t) } func TestCheckConst(t *testing.T) { testCheckConst(t) } func TestConst(t *testing.T) { testConst(t) } func TestCthread(t *testing.T) { testCthread(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
if b != 200 { t.Fatalf("found %d expected 200\n", b) } } // issue 4857 func test4857() { _ = C.issue4857() } // issue 5224 func testCflags(t *testing.T) { is_windows := C.is_windows == 1 if is_windows != (runtime.GOOS == "windows") { t.Errorf("is_windows: %v, runtime.GOOS: %s", is_windows, runtime.GOOS) } if C.common != 123 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_flags.txt
Heschi Kreinick <******@****.***> 1680109999 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:53:14 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/internal/test/genflags.go
func regenerate() error { vetAnalyzers, err := genflags.VetAnalyzers() if err != nil { return err } t := template.Must(template.New("fileTemplate").Parse(fileTemplate)) tData := map[string][]string{ "testFlags": genflags.ShortTestFlags(), "vetAnalyzers": vetAnalyzers, } buf := bytes.NewBuffer(nil) if err := t.Execute(buf, tData); err != nil { return err } f, err := os.Create("flagdefs.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 09 13:37:58 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/dist/test.go
runOnHost := opts.runOnHost && (goarch != gohostarch || goos != gohostos) needTestFlags := len(opts.testFlags) > 0 || runOnHost if needTestFlags { testFlags = append([]string{"-args"}, opts.testFlags...) } if runOnHost { // -target is a special flag understood by tests that can run on the host testFlags = append(testFlags, "-target="+goos+"/"+goarch) } setupCmd = func(cmd *exec.Cmd) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/regexp/syntax/parse_test.go
{strings.Repeat("(?:", 999) + strings.Repeat(")*", 999), ``}, {"(" + strings.Repeat("|", 12345) + ")", ``}, // not nested at all } const testFlags = MatchNL | PerlX | UnicodeGroups func TestParseSimple(t *testing.T) { testParseDump(t, parseTests, testFlags) } var foldcaseTests = []parseTest{ {`AbCdE`, `strfold{ABCDE}`}, {`[Aa]`, `litfold{A}`}, {`a`, `litfold{A}`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:02:30 UTC 2023 - 16.2K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
if err != nil { return fmt.Errorf(`-shuffle argument must be "on", "off", or an int64: %v`, err) } *f = shuffleFlag{on: true, seed: &seed} return nil } // testFlags processes the command line, grabbing -x and -c, rewriting known flags // to have "test" before them, and reading the command line for the test binary. // Unfortunately for us, we need to do our own flag processing because go test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
tests/binary/binaries_test.go
}) } var ( nonGoBinaries = sets.New("ztunnel", "envoy") nonVersionBinaries = sets.New("client", "server") ) // Test that flags do not get polluted with unexpected flags func TestFlags(t *testing.T) { runBinariesTest(t, func(t *testing.T, name string) { if nonGoBinaries.Contains(name) { return } cmd := path.Join(*releasedir, name) out, err := exec.Command(cmd, "--help").Output()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
} if wantTest { var testFlags loadPkgFlags if MainModules.Contains(pkg.mod.Path) || (ld.allClosesOverTests && new.has(pkgInAll)) { // Tests of packages in the main module are in "all", in the sense that // they cause the packages they import to also be in "all". So are tests // of packages in "all" if "all" closes over test dependencies. testFlags |= pkgInAll }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/link/link_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0)