Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for GOBIN (0.03 sec)

  1. src/math/big/link_test.go

    		t.Skip("skipping in short mode")
    	}
    	t.Parallel()
    	tmp := t.TempDir()
    	goBin := testenv.GoToolPath(t)
    	goFile := filepath.Join(tmp, "x.go")
    	file := []byte(`package main
    import _ "math/big"
    func main() {}
    `)
    	if err := os.WriteFile(goFile, file, 0644); err != nil {
    		t.Fatal(err)
    	}
    	cmd := exec.Command(goBin, "build", "-o", "x.exe", "x.go")
    	cmd.Dir = tmp
    	if out, err := cmd.CombinedOutput(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 15:51:26 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/pack/pack_test.go

    	goBin := testenv.GoToolPath(t)
    	run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=large", "large.go")
    	run(packPath(t), "grc", "large.a", "large.o")
    	testenv.WriteImportcfg(t, importcfgfile, map[string]string{"large": filepath.Join(dir, "large.o")}, "runtime")
    	run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=main", "main.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_race_install_cgo.txt

    # Tests Issue #10500
    
    [!race] skip
    
    env GOBIN=$WORK/bin
    go install m/mtime m/sametime
    
    go tool -n cgo
    cp stdout cgopath.txt
    exec $GOBIN/mtime cgopath.txt # get the mtime of the file whose name is in cgopath.txt
    cp stdout cgotime_before.txt
    
     # For this test, we don't actually care whether 'go test -race -i' succeeds.
     # It may fail if GOROOT is read-only (perhaps it was installed as root).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 27 14:03:15 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/crypto/tls/link_test.go

    				t.Fatal(err)
    			}
    			os.Remove(exeFile)
    			cmd := exec.Command(goBin, "build", "-o", "x.exe", "x.go")
    			cmd.Dir = tmpDir
    			if out, err := cmd.CombinedOutput(); err != nil {
    				t.Fatalf("compile: %v, %s", err, out)
    			}
    
    			cmd = exec.Command(goBin, "tool", "nm", "x.exe")
    			cmd.Dir = tmpDir
    			nm, err := cmd.CombinedOutput()
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. hack/verify-spelling.sh

    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    export KUBE_ROOT
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    # Ensure that we find the binaries we build before anything else.
    export GOBIN="${KUBE_OUTPUT_BIN}"
    PATH="${GOBIN}:${PATH}"
    
    # Install tools we need
    go -C "${KUBE_ROOT}/hack/tools" install github.com/client9/misspell/cmd/misspell
    
    # Spell checking
    # All the skipping files are defined in hack/.spelling_failures
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. hack/verify-golangci-lint.sh

    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    kube::golang::setup_env
    export GOBIN="${KUBE_OUTPUT_BIN}"
    
    kube::util::require-jq
    
    invocation=(./hack/verify-golangci-lint.sh "$@")
    golangci=("${GOBIN}/golangci-lint" run)
    golangci_config="${KUBE_ROOT}/hack/golangci.yaml"
    base=
    strict=
    hints=
    githubactions=
    while getopts "ar:sng:c:" o; do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_output.txt

    [compiler:gccgo] skip 'gccgo has no standard packages'
    [short] skip
    
    [!GOOS:windows] env NONEXE='.exe'
    [GOOS:windows] env NONEXE=''
    
    env GOBIN=$WORK/tmp/bin
    go install m/isarchive &
    
    go build x.go
    exists -exec x$GOEXE
    rm x$GOEXE
    ! exists x$NONEXE
    
    go build -o myprog x.go
    ! exists x
    ! exists x.exe
    exists -exec myprog
    ! exists myprogr.exe
    
    ! exists bin
    go build -o bin/x x.go
    exists -exec bin/x
    rm bin
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. hack/verify-external-dependencies-version.sh

    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    # Ensure that we find the binaries we build before anything else.
    export GOBIN="${KUBE_OUTPUT_BIN}"
    PATH="${GOBIN}:${PATH}"
    
    # Install zeitgeist
    go install sigs.k8s.io/zeitgeist@v0.5.3
    
    # Prefer full path for running zeitgeist
    ZEITGEIST_BIN="$(which zeitgeist)"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 08:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/go/build/vendor_test.go

    	"rsc.io/markdown",
    }
    
    // Verify that the vendor directories contain only packages matching the list above.
    func TestVendorPackages(t *testing.T) {
    	_, thisFile, _, _ := runtime.Caller(0)
    	goBin := testenv.GoToolPath(t)
    	listCmd := testenv.Command(t, goBin, "list", "std", "cmd")
    	out, err := listCmd.Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fullPkg := range strings.Split(string(out), "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:29:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/gopath_local.txt

    exec ./hard$GOEXE
    stdout '^sub\.Hello'
    
    # Explicit source files listed on the command line should not install without
    # GOBIN set, since individual source files aren't part of the containing GOPATH.
    ! go install testdata/local/easy.go
    stderr '^go: no install location for \.go files listed on command line \(GOBIN not set\)$'
    
    [GOOS:windows] stop  # Windows does not allow the ridiculous directory name we're about to use.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top