Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for we (0.17 sec)

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

    go test -timeout=3s -fuzz=FuzzFast -fuzztime=5s
    
    # We should see the same behavior when invoking the test binary directly.
    go test -c
    exec ./fuzz.test$GOEXE -test.timeout=3s -test.fuzz=FuzzFast -test.fuzztime=5s -test.parallel=1 -test.fuzzcachedir=$WORK/cache
    
    # Timeout should not cause inputs to be written as crashers.
    ! exists testdata/fuzz
    
    # When we use fuzztime with an "x" suffix, it runs a specific number of times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_download_private_vcs.txt

    ! stderr 'unknown revision'
    ! stdout .
    
    [!exec:false] stop
    
    # Test that Git clone errors will be shown to the user instead of a generic
    # "unknown revision" error. To do this we want to force git ls-remote to return
    # an error we don't already have special handling for. See golang/go#42751.
    exec git config --global ******@****.***dOf https://github.com/
    env GIT_SSH_COMMAND=false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    # When we run 'go mod tidy -e', we should proceed past the first error and follow
    # it with a second error describing the version discrepancy.
    #
    # We should not provide advice on how to push past the version discrepancy,
    # because the '-e' flag should already do that, writing out an otherwise-tidied
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt

    # We should not save a crasher.
    ! go test -fuzz=FuzzNonCrash
    ! exists testdata
    ! stdout unreachable
    ! stderr unreachable
    stdout 'fuzzing process terminated by unexpected signal; no crash will be recorded: signal: terminated'
    
    # FuzzKill sends itself a signal that cannot be caught by the worker process
    # and does not appear to be a crash.
    # We should not save a crasher.
    ! go test -fuzz=FuzzKill
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    # a/default.pgo and b/default.pgo are both preprocessed
    stderr 'preprofile.*-i.*a(/|\\\\)default\.pgo'
    stderr 'preprofile.*-i.*b(/|\\\\)default\.pgo'
    
    # a and b built once each with PGO.
    # Ideally we would check that the passed profile is the expected profile (here
    # and for dependencies). Unfortunately there is no nice way to map the expected
    # paths after preprocessing.
    stderr -count=1 'compile.*-pgoprofile=.*a(/|\\\\)a\.go'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_downup_indirect.txt

    #
    # The module dependency graph originally looks like:
    #
    # a ---- b.2
    #   \      \
    #    \      \
    #     ----- c.1 ---- d.2
    #
    # b.1 ---- c.2
    #
    # If we downgrade module d to version 1, we must downgrade b as well.
    # If that downgrade selects b version 1, we will upgrade module c to version 2.
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod.orig go.mod
    
    # Downgrading d to version 1 downgrades b, which upgrades c.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_toolchain.txt

    stderr '^go: invalid go version garbage$'
    
    # go get go@go1.21.0 is OK - we silently correct to 1.21.0
    go get go@1.19
    go get go@go1.21.0
    stderr '^go: upgraded go 1.19 => 1.21.0'
    
    # go get toolchain@1.24rc1 is OK too.
    go get toolchain@1.24rc1
    stderr '^go: downgraded toolchain go1.999testmod => go1.24rc1$'
    
    # go get go@1.21 should work if we are the Go 1.21 language version,
    # even though there's no toolchain for it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 19:33:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    # https://golang.org/issue/46141: 'go mod tidy' for a Go 1.17 module should by
    # default preserve enough checksums for the module to be used by Go 1.16.
    #
    # We don't have a copy of Go 1.16 handy, but we can simulate it by editing the
    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_io_error.txt

    # with a worker, the coordinator stops the worker and reports the error.
    # The coordinator should not record a crasher.
    #
    # We simulate an I/O error in the test by writing garbage to fuzz_out.
    # This is unlikely, but possible. It's difficult to simulate interruptions
    # due to ^C and EOF errors which are more common. We don't report those.
    [short] skip
    [!fuzz] skip
    env GOCACHE=$WORK/cache
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top