Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,282 for STDOUT (0.12 sec)

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

    go test standalone_fuzz_test.go
    ! stdout '^ok.*\[no tests to run\]'
    stdout '^ok'
    
    # Matches only for fuzzing.
    go test -fuzz Fuzz -fuzztime 1x standalone_fuzz_test.go
    ! stdout '^ok.*\[no tests to run\]'
    stdout '^ok'
    
    # Matches none for fuzzing but will run the fuzz target as a test.
    go test -fuzz ThisWillNotMatch -fuzztime 1x standalone_fuzz_test.go
    ! stdout '^ok.*no tests to run'
    stdout '^ok'
    stdout 'no fuzz tests to fuzz'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 953 bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/test_json.txt

    # Check errors for run action
    stdout '"Package":"errors"'
    stdout '"Action":"start","Package":"errors"'
    stdout '"Action":"run","Package":"errors"'
    
    # Check m/empty/pkg for output and skip actions
    stdout '"Action":"start","Package":"m/empty/pkg"'
    stdout '"Action":"output","Package":"m/empty/pkg","Output":".*no test files'
    stdout '"Action":"skip","Package":"m/empty/pkg"'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/list_err_stack.txt

    env GO111MODULE=off
    cd sandbox/foo
    go list -e -json .
    stdout '"sandbox/foo"'
    stdout '"sandbox/bar"'
    stdout '"Pos": "..(/|\\\\)bar(/|\\\\)bar.go:1:1"'
    stdout '"Err": "expected ''package'', found ackage"'
    
    env GO111MODULE=on
    go list -e -json .
    stdout '"sandbox/foo"'
    stdout '"sandbox/bar"'
    stdout '"Pos": "..(/|\\\\)bar(/|\\\\)bar.go:1:1"'
    stdout '"Err": "expected ''package'', found ackage"'
    
    -- sandbox/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 05 18:24:52 UTC 2020
    - 595 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top