Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 952 for STDOUT (0.15 sec)

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

    [cgo] stdout '^hello cgo\r?\n'
    
    [cgo] go build -overlay overlay.json -o main_cgo_angle$GOEXE ./cgo_hello_angle
    [cgo] exec ./main_cgo_angle$GOEXE
    [cgo] stdout '^hello cgo\r?\n'
    
    go build -overlay overlay.json -o main_call_asm$GOEXE ./call_asm
    exec ./main_call_asm$GOEXE
    ! stdout .
    
    [cgo] go list -compiled -overlay overlay.json -f '{{range .CompiledGoFiles}}{{. | printf "%s\n"}}{{end}}' ./cgo_hello_replace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_doc.txt

    [short] skip
    
    # Check when module x is inside GOPATH/src.
    go doc y
    stdout 'Package y is.*alphabet'
    stdout 'import "x/y"'
    go doc x/y
    stdout 'Package y is.*alphabet'
    ! go doc quote.Hello
    stderr 'doc: symbol quote is not a type' # because quote is not in local cache
    go list rsc.io/quote # now it is
    go doc quote.Hello
    stdout 'Hello returns a greeting'
    go doc quote
    stdout 'Package quote collects pithy sayings.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/test_json_prints.txt

    go test -json
    
    stdout '"Action":"output","Package":"p","Output":"M1"}'
    stdout '"Action":"output","Package":"p","Test":"Test","Output":"=== RUN   Test\\n"}'
    stdout '"Action":"output","Package":"p","Test":"Test","Output":"T1"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"=== RUN   Test/Sub1\\n"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"Sub1    x_test.go:19: SubLog1\\n"}'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  10. 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)
Back to top