Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 975 for STDOUT (0.09 sec)

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

    env GOARCH=amd64
    env GOAMD64=v3
    go list -f '{{context.ToolTags}}'
    stdout 'amd64.v1 amd64.v2 amd64.v3'
    
    env GOARCH=arm
    env GOARM=6
    go list -f '{{context.ToolTags}}'
    stdout 'arm.5 arm.6'
    
    env GOARCH=mips
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips.hardfloat'
    
    env GOARCH=mips64
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips64.hardfloat'
    
    env GOARCH=ppc64
    env GOPPC64=power9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 07:25:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_bad_import.txt

    ! stdout ^error
    stdout 'incomplete'
    stdout 'bad dep: .*example.com[/\\]notfound'
    
    # Listing with -deps should also fail.
    ! go list -deps example.com/direct
    stderr example.com[/\\]notfound
    
    # But -e -deps should succeed.
    go list -e -deps example.com/direct
    stdout example.com/notfound
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 09 20:53:04 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_chatty.txt

    stdout ok
    stdout SKIP
    ! stdout FAIL
    
    # Run successful chatty fuzz targets.
    go test -v chatty_fuzz_test.go
    stdout ok
    stdout PASS
    stdout 'all good here'
    ! stdout FAIL
    
    # Fuzz successful chatty fuzz target that includes a separate unit test.
    go test -v chatty_with_test_fuzz_test.go -fuzz=Fuzz -fuzztime=1x
    stdout ok
    stdout PASS
    ! stdout FAIL
    stdout -count=1 'all good here'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_list_bad_import.txt

    ! stdout ^error
    stdout 'incomplete'
    stdout 'bad dep: .*example.com/notfound'
    
    # Listing with -deps should also fail.
    ! go list -deps example.com/direct
    stderr example.com/notfound
    
    # But -e -deps should succeed.
    go list -e -deps example.com/direct
    stdout example.com/notfound
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 06 18:54:25 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/list_test_err.txt

    # The syntax error is shown in the package error field.
    go list -e -test -deps -f '{{.ImportPath}} {{.Error | printf "%q"}}' syntaxerr
    stdout 'pkgdep <nil>'
    stdout 'testdep_a <nil>'
    stdout 'testdep_b <nil>'
    stdout 'syntaxerr <nil>'
    stdout 'syntaxerr \[syntaxerr.test\] <nil>'
    stdout 'syntaxerr_test \[syntaxerr.test\] <nil>'
    stdout 'syntaxerr\.test "[^"]*expected declaration'
    ! stderr 'expected declaration'
    
    [short] stop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 23:08:19 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fail_fast.txt

    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_test.txt

    go list -compiled -test
    stdout -count=4 '^.' # 4 lines
    stdout '^m$'
    stdout '^m\.test$'
    stdout '^m \[m\.test\]$'
    stdout '^m_test \[m\.test\]$'
    
    # https://golang.org/issue/39974: test packages should have the Module field populated.
    go list -test -f '{{.ImportPath}}{{with .Module}}: {{.Path}}{{end}}'
    stdout -count=4 '^.' # 4 lines
    stdout '^m: m$'
    stdout '^m\.test: m$'
    stdout '^m \[m\.test\]: m$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 24 19:20:59 UTC 2020
    - 704 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top