Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,282 for STDOUT (0.12 sec)

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

    ! stdout .
    
    # Standard packages should include cmd, but not cmd/vendor.
    go list ./...
    stdout cmd/compile
    ! stdout vendor/golang.org
    ! stdout cmd/vendor
    
    # In GOPATH mode, packages vendored into GOROOT should be reported as standard.
    go list -f '{{if .Standard}}{{.ImportPath}}{{end}}' std cmd
    stdout golang.org/x/net/http2/hpack
    stdout cmd/vendor/golang\.org/x/arch/x86/x86asm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 702 bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            0 * listenerMock._
    
            and:
            stdout.stdOut == ""
            stdout.stdErr == ""
        }
    
        def handlesWorkerActionThatThrowsException() {
            when:
            execute(worker(new BrokenRemoteProcess()).expectStopFailure())
    
            then:
            stdout.stdOut == ""
            stdout.stdErr.contains("java.lang.RuntimeException: broken")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    env GOROOT=
    
    exec ./example.exe
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    ! exec ./example-trimpath.exe
    stdout '^GOROOT $'
    stderr 'cannot find package "runtime" in any of:\n\t\(\$GOROOT not set\)\n\t'$WORK${/}gopath${/}src${/}runtime' \(from \$GOPATH\)\n\z'
    
    exec ./example.test.exe -test.v
    stdout '^GOROOT '$TESTGO_GOROOT'$'
    stdout '^runtime '$TESTGO_GOROOT${/}src${/}runtime'$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/list_load_err.txt

    # Verifies golang.org/issue/38568
    
    go list -e -deps ./scan
    stdout m/want
    
    go list -e -deps ./multi
    stdout m/want
    
    go list -e -deps ./constraint
    stdout m/want
    
    [cgo] go list -e -test -deps ./cgotest
    [cgo] stdout m/want
    
    [cgo] go list -e -deps ./cgoflag
    [cgo] stdout m/want
    
    
    # go list -e should include files with errors in GoFiles, TestGoFiles, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top