Skip to content
Jesse Meek edited this page Aug 24, 2015 · 3 revisions
#!/bin/bash

# run this script from the root of a package.

set -e
go test -c $*
PKG=$(basename $(pwd))

while true ; do
  env GOMAXPROCS=$[ 1 + $[ RANDOM % 128 ]] ./$PKG.test $@ 2>&1
done
Clone this wiki locally