Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for goEnv (0.03 sec)

  1. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    import (
    	"internal/testenv"
    	"strings"
    	"testing"
    )
    
    func TestTSAN(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    	goos, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    	goarch, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    	// The msan tests require support for the -msan option.
    	if !compilerRequiredTsanVersion(goos, goarch) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    	if testing.Short() {
    		t.Skip("libfuzzer tests can take upwards of minutes to run; skipping in short mode")
    	}
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    	goos, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    	goarch, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !libFuzzerSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; libfuzzer option is not supported.", goos, goarch)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/run.bash

    # Defaults to 1.
    
    set -e
    
    if [ ! -f ../bin/go ]; then
    	echo 'run.bash must be run from $GOROOT/src after installing cmd/go' 1>&2
    	exit 1
    fi
    
    export GOENV=off
    eval $(../bin/go tool dist env)
    
    unset CDPATH	# in case user has it set
    
    export GOHOSTOS
    export CC
    
    # no core files, please
    ulimit -c 0
    
    # Raise soft limits to hard limits for NetBSD/OpenBSD.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/make.rc

    # Determine the host compiler toolchain.
    eval `{grep '^(CC|LD|O)=' /$objtype/mkfile}
    
    vflag=()
    if(~ $1 -v) {
    	vflag=(-v)
    	shift
    }
    
    fn bootstrapenv {
    	GOROOT=$GOROOT_BOOTSTRAP GO111MODULE=off GOENV=off GOOS=() GOARCH=() GOEXPERIMENT=() GOFLAGS=() $*
    }
    
    bootgo = 1.20.6
    GOROOT = `{cd .. && pwd}
    goroot_bootstrap_set = 'true'
    if(! ~ $#GOROOT_BOOTSTRAP 1){
    	goroot_bootstrap_set = 'false'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/make.bash

    	for d in sdk/go$bootgo go$bootgo; do
    		if [[ -d "$HOME/$d" ]]; then
    			GOROOT_BOOTSTRAP="$HOME/$d"
    		fi
    	done
    fi
    export GOROOT_BOOTSTRAP
    
    bootstrapenv() {
    	GOROOT="$GOROOT_BOOTSTRAP" GO111MODULE=off GOENV=off GOOS= GOARCH= GOEXPERIMENT= GOFLAGS= "$@"
    }
    
    export GOROOT="$(cd .. && pwd)"
    IFS=$'\n'; for go_exe in $(type -ap go); do
    	if [[ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]]; then
    		goroot_bootstrap=$GOROOT_BOOTSTRAP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top