- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for testProg (0.15 sec)
-
src/runtime/crash_test.go
t.Skip("-quick") } testenv.MustHaveGoBuild(t) testprog.Lock() if testprog.dir == "" { dir, err := os.MkdirTemp("", "go-build") if err != nil { t.Fatalf("failed to create temp directory: %v", err) } testprog.dir = dir toRemove = append(toRemove, dir) } if testprog.target == nil { testprog.target = make(map[string]*buildexe) } name := binary if len(flags) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/runtime/gc_test.go
) func TestGcSys(t *testing.T) { t.Skip("skipping known-flaky test; golang.org/issue/37331") if os.Getenv("GOGC") == "off" { t.Skip("skipping test; GOGC=off in environment") } got := runTestProg(t, "testprog", "GCSys") want := "OK\n" if got != want { t.Fatalf("expected %q, but got %q", want, got) } } func TestGcDeepNesting(t *testing.T) { type T [2][2][2][2][2][2][2][2][2][2]*int a := new(T)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 22:33:52 UTC 2024 - 17.6K bytes - Viewed (0) -
src/internal/trace/trace_test.go
type frame struct { fn string line int } type evDesc struct { kind trace.EventKind match string frames []frame } // mainLine is the line number of `func main()` in testprog/stacks.go. const mainLine = 21 want := []evDesc{ {trace.EventStateTransition, "Goroutine Running->Runnable", []frame{ {"main.main", mainLine + 82}, }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
String id=111 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/annotation.go" String id=112 data="main.do" String id=113 data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/annotations-stress.go" String id=114 data="main.main" String id=115 data="sync.(*Mutex).Lock" String id=116 data="/usr/local/google/home/mknyszek/work/go-1/src/sync/mutex.go" String id=117
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
expectedURI: "spiffe://cluster.local/ns/foo/sa/bar", }, { namespace: "foo", serviceAccount: "bar", trustDomain: "kube-federating-id@testproj.iam.gserviceaccount.com", expectedURI: "spiffe://kube-federating-id.testproj.iam.gserviceaccount.com/ns/foo/sa/bar", }, } for id, tc := range testCases { got, err := genSpiffeURI(tc.trustDomain, tc.namespace, tc.serviceAccount)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
src/os/exec.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import ( "errors" "internal/testlog" "runtime" "sync" "sync/atomic" "syscall" "time" ) // ErrProcessDone indicates a [Process] has finished. var ErrProcessDone = errors.New("os: process already finished") type processMode uint8 const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/go/build/deps_test.go
# OS is basic OS access, including helpers (path/filepath, os/exec, etc). # OS includes string routines, but those must be layered above package os. # OS does not include reflection. io/fs < internal/testlog < internal/poll < internal/filepathlite < os < os/signal; io/fs < embed; unicode, fmt !< net, os, os/signal; os/signal, internal/filepathlite, STR < path/filepath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy
parameter.logLevel = LogLevel.DEBUG parameter.consoleOutput = ConsoleOutput.Plain parameter.configureOnDemand = true parameter.systemPropertiesArgs.put("testprop", "foo") // Non-copied parameter.currentDir = new File("other") parameter.buildFile = new File("build file") parameter.settingsFile = new File("settings file")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 06:24:50 UTC 2024 - 14K bytes - Viewed (0) -
src/cmd/link/link_test.go
} } func TestReadOnly(t *testing.T) { // Test that read-only data is indeed read-only. testenv.MustHaveGoBuild(t) t.Parallel() src := filepath.Join("testdata", "testRO", "x.go") cmd := testenv.Command(t, testenv.GoToolPath(t), "run", src) out, err := cmd.CombinedOutput() if err == nil { t.Errorf("running test program did not fail. output:\n%s", out) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0)