vendor: Update github.com/gobwas/glob to solve 1.3 build issue

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2996
This commit is contained in:
Jakob Borg
2016-04-20 07:05:08 +00:00
parent ea54525a33
commit 842b6111db
6 changed files with 4 additions and 178 deletions

View File

@@ -1,26 +0,0 @@
#! /bin/bash
bench() {
filename="/tmp/$1-$2.bench"
if test -e "${filename}";
then
echo "Already exists ${filename}"
else
backup=`git rev-parse --abbrev-ref HEAD`
git checkout $1
echo -n "Creating ${filename}... "
go test ./... -run=NONE -bench=$2 > "${filename}" -benchmem
echo "OK"
git checkout ${backup}
sleep 5
fi
}
to=$1
current=`git rev-parse --abbrev-ref HEAD`
bench ${to} $2
bench ${current} $2
benchcmp $3 "/tmp/${to}-$2.bench" "/tmp/${current}-$2.bench"