Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,282 for STDOUT (0.1 sec)

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

    ! go mod tidy -diff
    ! exists go.mod
    ! exists go.sum
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    stderr 'go.mod file not found'
    
    # Missing go.mod and existing go.sum should fail and not display diff.
    cp go.sum.orig go.sum
    ! exists go.mod
    exists go.sum
    ! go mod tidy -diff
    ! exists go.mod
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_cache_inputs.txt

    go test testcache -run=TestOSArgs -v hello
    ! stdout '\(cached\)'
    stdout 'hello'
    go test testcache -run=TestOSArgs -v goodbye
    ! stdout '\(cached\)'
    stdout 'goodbye'
    
    # golang.org/issue/36134: that includes the `-timeout` argument.
    go test testcache -run=TestOSArgs -timeout=20m -v
    ! stdout '\(cached\)'
    stdout '-test\.timeout[= ]20m'
    go test testcache -run=TestOSArgs -timeout=5s -v
    ! stdout '\(cached\)'
    stdout '-test\.timeout[= ]5s'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version.txt

    go version fortune.exe
    stdout '^fortune.exe: .+'
    go version -m fortune.exe
    stdout -buildmode=exe
    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]'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top