Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 952 for STDOUT (0.4 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/testdata/script/env_changed.txt

    # windows output like GOTOOLCHAIN=local
    stdout 'GOTOOLCHAIN=''?local''?'
    stdout 'GOSUMDB=''?nodefault''?'
    stdout 'GOPROXY=''?nodefault''?'
    stdout 'GO111MODULE=''?auto''?'
    stdout 'CGO_CFLAGS=''?nodefault''?'
    stdout 'CGO_CPPFLAGS=''?nodefault''?'
    
    go env -changed -json
    stdout '"GOTOOLCHAIN": "local"'
    stdout '"GOSUMDB": "nodefault"'
    stdout '"GOPROXY": "nodefault"'
    stdout '"GO111MODULE": "auto"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:49:03 UTC 2024
    - 1.5K 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/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)
  7. 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)
  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/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)
Back to top