Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 975 for STDOUT (0.35 sec)

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

    go mod tidy
    cp go.mod go.mod.orig
    
    go list -test all
    stdout rsc.io/quote
    stdout golang.org/x/text/language
    
    # why a package?
    go mod why golang.org/x/text/language
    cmp stdout why-language.txt
    
    # why a module?
    go mod why -m golang.org...
    cmp stdout why-text-module.txt
    
    # why a package used only in tests?
    go mod why rsc.io/testonly
    cmp stdout why-testonly.txt
    
    # why a module used only in a test of a dependency?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 16:52:00 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_json_fields.txt

    go list -json .
    stdout '"Name": "a"'
    stdout '"Stale": true'
    # Same thing for -json=true
    go list -json=true .
    stdout '"Name": "a"'
    stdout '"Stale": true'
    
    # Test -json=false produces non-json output.
    go list -json=false
    cmp stdout want-non-json.txt
    
    # Test -json=<field> keeps only that field.
    go list -json=Name
    cmp stdout want-json-name.txt
    
    # Test -json=<field> with multiple fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 15:24:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version_buildvcs_bzr.txt

    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=bzr$'
    ! stdout vcs.revision
    ! stdout vcs.time
    stdout '^\tbuild\tvcs.modified=true$'
    cd ..
    
    # Revision and commit time are tagged for repositories with commits.
    exec bzr add a README
    exec bzr commit -m 'initial commit'
    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=bzr$'
    stdout '^\tbuild\tvcs.revision='
    stdout '^\tbuild\tvcs.time='
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 03:44:02 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/install_goroot_targets.txt

    [short] skip
    
    # Packages in std do not have an install target.
    go list -f '{{.Target}}' fmt
    ! stdout .
    go list -export -f '{{.Export}}' fmt
    stdout $GOCACHE
    
    # With GODEBUG=installgoroot=all, fmt has a target.
    # (Though we can't try installing it without modifying goroot).
    env GODEBUG=installgoroot=all
    go list -f '{{.Target}}' fmt
    stdout fmt\.a
    
    # However, the fake packages "builtin" and "unsafe" do not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 22:43:41 UTC 2022
    - 747 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_json_issue35169.txt

    ! go test -json .
    
    	# We should see only JSON output on stdout, no non-JSON.
    	# To simplify the check, we just look for non-curly-braces, since
    	# every JSON entry has them and they're unlikely to occur
    	# in other error messages.
    ! stdout '^[^{]'
    ! stdout '[^}]\n$'
    
    	# Since the only test we requested failed to build, we should
    	# not see any "pass" actions in the JSON stream.
    ! stdout '\{.*"Action":"pass".*\}'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:29:21 UTC 2023
    - 804 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_downgrade.txt

    go get rsc.io/sampler@v1.0.0
    go list -m all
    stdout 'rsc.io/quote v1.4.0'
    stdout 'rsc.io/sampler v1.0.0'
    
    # downgrade sampler away should downgrade quote further
    go get rsc.io/sampler@none
    go list -m all
    stdout 'rsc.io/quote v1.3.0'
    
    # downgrade should report inconsistencies and not change go.mod
    go get rsc.io/quote@v1.5.1
    go list -m all
    stdout 'rsc.io/quote v1.5.1'
    stdout 'rsc.io/sampler v1.3.0'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_statements.txt

    [!GOEXPERIMENT:coverageredesign] stdout 'pkg1	\[no test files\]'
    [GOEXPERIMENT:coverageredesign] stdout 'pkg1		coverage: 0.0% of statements'
    stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
    stdout 'pkg3	\S+	coverage: 100.0% of statements'
    stdout 'pkg4	\S+	coverage: \[no statements\]'
    
    # Validate
    go tool cover -func=cov.dat
    [GOEXPERIMENT:coverageredesign] stdout 'pkg1/a.go:5:\s+F\s+0.0%'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:36:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/telemetry.txt

    [GOOS:plan9] env userconfig=$home/lib
    
    go telemetry
    stdout 'local'
    
    go telemetry off
    go telemetry
    stdout 'off'
    go env GOTELEMETRY
    stdout 'off'
    
    go telemetry local
    go telemetry
    stdout 'local'
    go env GOTELEMETRY
    stdout 'local'
    
    go telemetry on
    go telemetry
    stdout 'on'
    go env GOTELEMETRY
    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_list_retract.txt

    ! stdout .
    
    # 'go list -retracted pkg' shows retraction.
    go list -retracted -f '{{with .Module}}{{with .Retracted}}retracted{{end}}{{end}}' example.com/retract
    stdout retracted
    
    # 'go list -m' does not show retraction.
    go list -m -f '{{with .Retracted}}retracted{{end}}' example.com/retract
    ! stdout .
    
    # 'go list -m -retracted' shows retraction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_upgrade_pseudo.txt

    # Start at v0.1.1-0.20190429073117-b5426c86b553
    go get example.com/pseudoupgrade@b5426c8
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get -u' should not downgrade to the (lower) tagged version.
    go get -u
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get example.com/pseudoupgrade@upgrade' should not downgrade.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top