mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
9 lines
241 B
Bash
Executable File
9 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BENCHMARKS=`grep "func Benchmark" *_test.go | sed 's/.*func //' | sed s/\(.*{//`
|
|
|
|
for BENCHMARK in $BENCHMARKS
|
|
do
|
|
go test -v -run=xxx -bench=^$BENCHMARK$ -benchtime=10s -tags 'forestdb leveldb' | grep -v ok | grep -v PASS
|
|
done
|