Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Run (0.88 sec)

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

    [short] skip
    
    # Programs in Go 1.21 work module should trigger run-time error.
    cp go.mod.21 go.mod
    ! go run .
    stderr 'panic: panic called with nil argument'
    
    ! go run rsc.io/panicnil
    stderr 'panic: panic called with nil argument'
    
    # Programs in Go 1.20 work module use old panic nil behavior.
    cp go.mod.20 go.mod
    ! go run .
    stderr 'panic: nil'
    
    ! go run rsc.io/panicnil
    stderr 'panic: nil'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_vendor_auto.txt

    stderr '^\texample.com/version@v1.2.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt'
    stderr '^\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor$'
    
    # Module-specific subcommands should continue to load the full module graph.
    go mod graph
    stdout '^example.com/printversion@v1.0.0 example.com/version@v1.0.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_pgo_auto.txt

    ! stderr 'compile.*-pgoprofile'
    
    # check that pgo doesn't appear in build info
    ! stderr 'build\\t-pgo='
    
    # other build-related commands
    go install -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go run -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. doc/README.md

    ```
    go run golang.org/x/website/cmd/golangorg@latest -goroot=..
    ```
    
    Then open http://localhost:6060/doc/next. Refresh the page to see your latest edits.
    
    ## For the release team
    
    The `relnote` tool, at `golang.org/x/build/cmd/relnote`, operates on the files
    in `doc/next`.
    
    As a release cycle nears completion, run `relnote todo` to get a list of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_run_pkg_version.txt

    # This test checks the behavior of 'go run' with a 'cmd@version' argument.
    # Most of 'go run' is covered in other tests.
    # mod_install_pkg_version covers most of the package loading functionality.
    # This test focuses on 'go run' behavior specific to this mode.
    [short] skip
    
    # 'go run pkg@version' works outside a module.
    env GO111MODULE=auto
    go run example.com/cmd/a@v1.0.0
    stdout '^a@v1.0.0$'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    [exec:patch] ! stdout .
    [exec:patch] stderr '^go: example\.com/m imports\n\texample\.net/added: module example\.net/added@latest found \(v0\.3\.0, replaced by \./a1\), but does not contain package example\.net/added$'
    
    # 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,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_sync_atomic_import.txt

    # sync/atomic itself (see #57445). Just a short test run is needed
    # since we're mainly interested in making sure the test builds and can
    # execute at least one test.
    
    go test -short -covermode=atomic -run=TestStoreInt64 sync/atomic
    go test -short -covermode=atomic -run=TestAnd8 internal/runtime/atomic
    
    # Skip remainder if no race detector support.
    [!race] skip
    
    go test -short -cover -race -run=TestStoreInt64 sync/atomic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 1011 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work.txt

    cp go.work go.work.backup
    cp go.work.dup go.work
    ! go run example.com/b
    stderr 'go.work:6: path .* appears multiple times in workspace'
    cp go.work.backup go.work
    
    cp go.work.d go.work
    go work use # update go version
    go run example.com/d
    
    # Test that we don't run into "newRequirements called with unsorted roots"
    # panic with unsorted main modules.
    cp go.work.backwards go.work
    go work use # update go version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    
    # If we run 'go mod tidy -e', we should still save enough checksums to run
    # 'go list -m all' reproducibly with go 1.16, even though we can't list
    # the specific package.
    
    go mod tidy -e
    ! stderr '\n\tgo mod tidy'
    cmp go.mod go.mod.orig
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_cache_pgo.txt

    # Building trivial non-main package should run preprofile the first time.
    go build -x -pgo=default.pgo lib.go
    stderr 'preprofile.*default\.pgo'
    
    # ... but not again ...
    go build -x -pgo=default.pgo lib.go
    ! stderr 'preprofile.*default\.pgo'
    
    # ... unless we use -a.
    go build -a -x -pgo=default.pgo lib.go
    stderr 'preprofile.*default\.pgo'
    
    # ... building a different package should not run preprofile again, instead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 18:28:25 UTC 2024
    - 927 bytes
    - Viewed (0)
Back to top