Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 975 for STDOUT (2.71 sec)

  1. src/cmd/go/testdata/script/version_build_settings.txt

    go build
    go version -m m$GOEXE
    stdout '^\tbuild\t-compiler=gc$'
    stdout '^\tbuild\tGOOS='
    stdout '^\tbuild\tGOARCH='
    [GOARCH:amd64] stdout '^\tbuild\tGOAMD64='
    ! stdout asmflags|gcflags|ldflags|gccgoflags
    
    # Toolchain flags are added if present.
    # The raw flags are included, with package patterns if specified.
    go build -asmflags=example.com/m=-D=FOO=bar
    go version -m m$GOEXE
    stdout '^\tbuild\t-asmflags=example\.com/m=-D=FOO=bar$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_regexps.txt

    # Test the following:
    
    # TestX is run, twice
    stdout -count=2 '^=== RUN   TestX$'
    stdout -count=2 '^    x_test.go:6: LOG: X running$'
    
    # TestX/Y is run, twice
    stdout -count=2 '^=== RUN   TestX/Y$'
    stdout -count=2 '^    x_test.go:8: LOG: Y running$'
    
    # TestXX is run, twice
    stdout -count=2 '^=== RUN   TestXX$'
    stdout -count=2 '^    z_test.go:10: LOG: XX running'
    
    # TestZ is not run
    ! stdout '^=== RUN   TestZ$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]'
    stdout FAIL
    stderr warning
    
    go test -c
    ! exec ./x.test$GOEXE -test.fuzz=FuzzWithTestdata -test.run=FuzzWithTestdata -test.fuzztime=1x -test.fuzzcachedir=$WORK/cache
    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithTestdata[/\\]'
    stdout FAIL
    stderr warning
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_overlay.txt

    [cgo] stdout '^hello cgo\r?\n'
    
    [cgo] go build -overlay overlay.json -o main_cgo_angle$GOEXE ./cgo_hello_angle
    [cgo] exec ./main_cgo_angle$GOEXE
    [cgo] stdout '^hello cgo\r?\n'
    
    go build -overlay overlay.json -o main_call_asm$GOEXE ./call_asm
    exec ./main_call_asm$GOEXE
    ! stdout .
    
    [cgo] go list -compiled -overlay overlay.json -f '{{range .CompiledGoFiles}}{{. | printf "%s\n"}}{{end}}' ./cgo_hello_replace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_case.txt

    env GO111MODULE=on
    
    go get
    go list -m all
    stdout '^rsc.io/quote v1.5.2'
    stdout '^rsc.io/QUOTE v1.5.2'
    
    go list -f 'DIR {{.Dir}} DEPS {{.Deps}}' rsc.io/QUOTE/QUOTE
    stdout 'DEPS.*rsc.io/quote'
    stdout 'DIR.*!q!u!o!t!e'
    
    go get rsc.io/QUOTE@v1.5.3-PRE
    go list -m all
    stdout '^rsc.io/QUOTE v1.5.3-PRE'
    
    go list -f '{{.Dir}}' rsc.io/QUOTE/QUOTE
    stdout '!q!u!o!t!e@v1.5.3-!p!r!e'
    
    -- go.mod --
    module x
    
    -- use.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 453 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_doc.txt

    [short] skip
    
    # Check when module x is inside GOPATH/src.
    go doc y
    stdout 'Package y is.*alphabet'
    stdout 'import "x/y"'
    go doc x/y
    stdout 'Package y is.*alphabet'
    ! go doc quote.Hello
    stderr 'doc: symbol quote is not a type' # because quote is not in local cache
    go list rsc.io/quote # now it is
    go doc quote.Hello
    stdout 'Hello returns a greeting'
    go doc quote
    stdout 'Package quote collects pithy sayings.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/list_std.txt

    ! stdout .
    
    # Standard packages should include cmd, but not cmd/vendor.
    go list ./...
    stdout cmd/compile
    ! stdout vendor/golang.org
    ! stdout cmd/vendor
    
    # In GOPATH mode, packages vendored into GOROOT should be reported as standard.
    go list -f '{{if .Standard}}{{.ImportPath}}{{end}}' std cmd
    stdout golang.org/x/net/http2/hpack
    stdout cmd/vendor/golang\.org/x/arch/x86/x86asm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 702 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_json_prints.txt

    go test -json
    
    stdout '"Action":"output","Package":"p","Output":"M1"}'
    stdout '"Action":"output","Package":"p","Test":"Test","Output":"=== RUN   Test\\n"}'
    stdout '"Action":"output","Package":"p","Test":"Test","Output":"T1"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"=== RUN   Test/Sub1\\n"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"Sub1    x_test.go:19: SubLog1\\n"}'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    env GOROOT=
    
    exec ./example.exe
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    ! exec ./example-trimpath.exe
    stdout '^GOROOT $'
    stderr 'cannot find package "runtime" in any of:\n\t\(\$GOROOT not set\)\n\t'$WORK${/}gopath${/}src${/}runtime' \(from \$GOPATH\)\n\z'
    
    exec ./example.test.exe -test.v
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_load_err.txt

    # Verifies golang.org/issue/38568
    
    go list -e -deps ./scan
    stdout m/want
    
    go list -e -deps ./multi
    stdout m/want
    
    go list -e -deps ./constraint
    stdout m/want
    
    [cgo] go list -e -test -deps ./cgotest
    [cgo] stdout m/want
    
    [cgo] go list -e -deps ./cgoflag
    [cgo] stdout m/want
    
    
    # go list -e should include files with errors in GoFiles, TestGoFiles, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top