- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for test_main (0.18 sec)
-
src/cmd/api/api_test.go
import ( "flag" "fmt" "go/build" "internal/testenv" "os" "path/filepath" "sort" "strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var (
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "sync" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
.gitignore
.DS_Store *.[56789ao] *.a[56789o] *.so *.pyc ._* .nfs.* [56789a].out *~ *.orig *.rej *.exe .*.swp core *.cgo*.go *.cgo*.c _cgo_* _obj _test _testmain.go /VERSION.cache /bin/ /build.out /doc/articles/wiki/*.bin /goinstall.log /last-change /misc/cgo/life/run.out /misc/cgo/stdio/run.out /misc/cgo/testso/main /pkg/ /src/*.*/ /src/cmd/cgo/zdefaultcc.go /src/cmd/dist/dist
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jun 22 19:44:52 GMT 2023 - 958 bytes - Viewed (0)