spacepaste
new
Paste details
reply
|
raw
|
toggle line wrapping
#!/bin/sh
wd=`pwd`
export PATH="$wd/go/bin":/bin:/usr/bin
export GOROOT="$wd/go"
for f in go*.tar.gz; do
echo `basename "$f" | sed 's,^go,,;s,\.linux.*,,'`
tar xf "$f"
go test -run=XXX -bench=Regexp -benchmem
rm -rf ./go/
done