Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 384 for gopack (0.76 sec)

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

    # go env GOMOD should not trigger a toolchain download
    cd $GOPATH/mod
    go env GOMOD
    stdout mod[/\\]go.mod
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    # go env GOWORK should not trigger a toolchain download
    cd $GOPATH/work
    go env GOWORK
    stdout work[/\\]go.work
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    -- $GOPATH/mod/go.mod --
    module example.com
    
    go 1.700
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 16:05:39 UTC 2024
    - 510 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_match_benchmark_labels.txt

    # Benchmark labels, file outside gopath
    # TODO(matloob): This test was called TestBenchmarkLabelsOutsideGOPATH
    # why "OutsideGOPATH"? Does the go command need to be run outside GOPATH?
    # Do the files need to exist outside GOPATH?
    cp $GOPATH/src/standalone_benchmark_test.go $WORK/tmp/standalone_benchmark_test.go
    go test -run '^$' -bench . $WORK/tmp/standalone_benchmark_test.go
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    ! stdout '^pkg:'
    ! stderr '^pkg:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 577 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_prune_all.txt

    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    go list -f '{{.Dir}}' example.com/w
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]w
    go list -f '{{.Dir}}' example.com/z
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]z
    
    cmp $GOPATH/src/vendor/example.com/q/q.go q1_1_0/q.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_fileproxy_vcs_missing_issue51589.txt

    # Verifies golang.org/issue/51589
    
    # download the modules first
    env GO111MODULE=on
    env GOPATH=$WORK/gopath
    cd $WORK/x
    go mod tidy
    
    # Use download cache as file:/// proxy.
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath/pkg/mod/cache/download
    [!GOOS:windows] env GOPROXY=file://$WORK/gopath/pkg/mod/cache/download
    rm $WORK/gopath/pkg/mod/cache/download/golang.org/x/text/
    go mod tidy -e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 990 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_gomodcache.txt

    exists $GOPATH/pkg/sumdb
    ! exists $WORK/modcache/sumdb
    exists $WORK/modcache/cache/download/sumdb
    
    # Test that the default GOMODCACHE is $GOPATH[0]/pkg/mod
    env GOMODCACHE=
    go env GOMODCACHE
    stdout $GOPATH[/\\]pkg[/\\]mod
    go get rsc.io/quote@v1.0.0
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.0.0.info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_verify.txt

    stderr 'checksum mismatch'
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    
    # With good go.sum, sync works.
    rm go.sum
    cp go.sum.good go.sum
    go mod tidy
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    exists $GOPATH/pkg/mod/rsc.io/quote@v1.1.0/quote.go
    
    # go.sum should have the new checksum for go.mod
    grep '^rsc.io/quote v1.1.0/go.mod ' go.sum
    
    # verify should work
    go mod verify
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/vendor_list_issue11977.txt

    package t
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx_test.go --
    package tx_test
    
    import _ "vendor.org/p"
    import _ "vendor.org/p1"
    import "testing"
    
    func TestNop(t *testing.T) {}
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx.go --
    package tx
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p1/p1.go --
    package p1 // import "vendor.org/p1"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_overlay.txt

    # Test overlays that affect go.mod files
    
    # The go.mod file can exist only in the overlay.
    cd $WORK/gopath/src/no-go-mod
    go list -overlay overlay.json .
    stdout example.com/simple
    
    # Check content of overlaid go.mod is used.
    cd $WORK/gopath/src/overlay-go-mod
    go list -overlay overlay.json .
    stdout use.this/module/name
    
    # Check content of overlaid go.mod in a replacement module is used.
    # The go.mod in the replacement module is missing a requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_gobuild_import.txt

    # GO111MODULE=off
    env GO111MODULE=off
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto in GOPATH/src
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto outside GOPATH/src
    cd $GOPATH/other
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE other/x/y/z/w .
    stdout w2.go
    
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. src/cmd/internal/archive/archive_test.go

    			}
    			out, err = testenv.Command(t, gotool, "tool", "pack", "c", goarchive, go1obj, go2obj).CombinedOutput()
    			if err != nil {
    				return fmt.Errorf("go tool pack c %s %s %s: %v\n%s", goarchive, go1obj, go2obj, err, out)
    			}
    
    			if testenv.HasCGO() {
    				cgoarchive = filepath.Join(buildDir, "mycgo.a")
    				gopath := filepath.Join(buildDir, "gopath")
    				err = copyDir(filepath.Join(gopath, "src", "mycgo"), filepath.Join("testdata", "mycgo"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top