Ubuntu Pastebin

Paste from thumper at Wed, 20 Apr 2016 03:52:34 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/bash

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

while true ; do
	# env GOMAXPROCS=$[ 1 + $[ RANDOM % 128 ]] GOTRACEBACK=2 ./$PKG.test $@ 2>&1
	env GOMAXPROCS=$[ 1 + $[ RANDOM % 128 ]] ./$PKG.test $@ 2>&1
done
Download as text