GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Why Go arrow_drop_down
  • Case Studies
  • Use Cases
  • Security
  • Learn
  • Go Spec
  • Go User Manual
  • Standard library
  • Release Notes
  • Effective Go
  • Packages
  • Recorded Talks
  • Meetups open_in_new
  • Conferences open_in_new

This view

  • Original page
  • New address

GeezerVison is showing go.dev — - The Go Programming Language

Text file src/race.bash

     1  #!/usr/bin/env bash
     2  # Copyright 2013 The Go Authors. All rights reserved.
     3  # Use of this source code is governed by a BSD-style
     4  # license that can be found in the LICENSE file.
     5  
     6  # race.bash tests the standard library under the race detector.
     7  # https://golang.org/doc/articles/race_detector.html
     8  
     9  set -e
    10  
    11  function usage {
    12  	echo 'race detector is only supported on linux/amd64, linux/ppc64le, linux/arm64, linux/loong64, linux/riscv64, linux/s390x, freebsd/amd64, netbsd/amd64, openbsd/amd64, darwin/amd64, and darwin/arm64' 1>&2
    13  	exit 1
    14  }
    15  
    16  case $(uname -s -m) in
    17    "Darwin x86_64") ;;
    18    "Darwin arm64")  ;;
    19    "Linux x86_64")  ;;
    20    "Linux ppc64le") ;;
    21    "Linux aarch64") ;;
    22    "Linux loongarch64") ;;
    23    "Linux riscv64") ;;
    24    "Linux s390x")   ;;
    25    "FreeBSD amd64") ;;
    26    "NetBSD amd64")  ;;
    27    "OpenBSD amd64") ;;
    28    *) usage         ;;
    29  esac
    30  
    31  if [ ! -f make.bash ]; then
    32  	echo 'race.bash must be run from $GOROOT/src' 1>&2
    33  	exit 1
    34  fi
    35  . ./make.bash --no-banner
    36  go install -race std
    37  go tool dist test -race
    38  

View as plain text

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.