- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for tsv2json (0.26 sec)
-
src/cmd/internal/test2json/test2json.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package test2json implements conversion of test binary output to JSON. // It is used by cmd/test2json and cmd/go. // // See the cmd/test2json documentation for details of the JSON encoding. package test2json import ( "bytes" "encoding/json" "fmt" "io" "strconv" "strings" "time" "unicode"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 14.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/package-lock.json
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 156K bytes - Viewed (1) -
src/cmd/go/testdata/script/version.txt
stdout '^\tpath\trsc.io/fortune' stdout '^\tmod\trsc.io/fortune\tv1.0.0' # Check the build info of a binary built from $GOROOT/src/cmd go build -o test2json.exe cmd/test2json go version -m test2json.exe stdout -buildmode=exe stdout '^test2json.exe: .+' stdout '^\tpath\tcmd/test2json$' ! stdout 'mod[^e]' # Repeat the test with -buildmode=pie and default linking. [!buildmode:pie] stop [pielinkext] [!cgo] stop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 14:52:04 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/test2json/main.go
// license that can be found in the LICENSE file. // Test2json converts go test output to a machine-readable JSON stream. // // Usage: // // go tool test2json [-p pkg] [-t] [./pkg.test -test.v=test2json] // // Test2json runs the given test command and converts its output to JSON; // with no command specified, test2json expects test output on standard input.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_json_exit.txt
! go test -json ./mainpanic stdout '"Action":"fail"' ! stdout '"Action":"pass"' ! go tool test2json ./mainpanic.exe stdout '"Action":"fail"' ! stdout '"Action":"pass"' # Test binaries that exit with status 0 should be marked as passing. go test -json ./mainexit0 stdout '"Action":"pass"' ! stdout '"Action":"fail"' go tool test2json ./mainexit0.exe stdout '"Action":"pass"' ! stdout '"Action":"fail"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 19:43:21 UTC 2020 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_json.txt
stdout '"Action":"output","Package":"errors","Output":".*\(cached\)' go test -json -bench=NONE -short -v errors stdout '"Package":"errors"' stdout '"Action":"run"' # Test running test2json go test -o $WORK/tmp/errors.test$GOEXE -c errors go tool test2json -p errors $WORK/tmp/errors.test$GOEXE -test.v -test.short stdout '"Package":"errors"' stdout '"Action":"run"' stdout '\{"Action":"pass","Package":"errors"\}' -- go.mod -- module m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 2.3K bytes - Viewed (0) -
src/testing/flag_test.go
t.Fatalf("test.v flag (type %T) does not have Get method", f) } v := gf.Get() var want any switch *testFlagArg { case "": want = false case "-test.v": want = true case "-test.v=test2json": want = "test2json" default: t.Fatalf("unexpected test_flag_arg %q", *testFlagArg) } if v != want { t.Errorf("test.v is %v want %v", v, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_nomod.txt
! go run ! go test ! go vet # clean succeeds, even with -modcache go clean -modcache # doc succeeds for standard library go doc unsafe # env succeeds go env # tool succeeds go tool -n test2json # version succeeds go version -- x.mod -- module m -- x.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 29 18:57:53 UTC 2018 - 644 bytes - Viewed (0) -
src/cmd/dist/testjson.go
f.lineBuf.Reset() } } func (f *testJSONFilter) process(line []byte) { if len(line) > 0 && line[0] == '{' { // Plausible test2json output. Parse it generically. // // We go to some effort here to preserve key order while doing this // generically. This will stay robust to changes in the test2json // struct, or other additions outside of it. If humans are ever looking // at the output, it's really nice to keep field order because it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_exit.txt
# Using -json doesn't affect the exit status. ! go test -json ./zero ! stdout '"Output":"ok' ! stdout 'exit status' stdout 'panic' stdout '"Output":"FAIL' # Running the test via test2json also fails. ! go tool test2json ./zero.exe -test.v -test.paniconexit0 ! stdout '"Output":"ok' ! stdout 'exit status' stdout 'panic' -- go.mod -- module m -- ./normal/normal.go -- package normal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 14 20:38:03 UTC 2021 - 2.5K bytes - Viewed (0)