forked from quic-go/quic-go
make the benchmark suite compatible with Go 1.13
Unfortunately, there doesn't seem to be a way to keep the samples flag.
This commit is contained in:
@@ -16,11 +16,11 @@ fi
|
||||
|
||||
if [ ${TESTMODE} == "integration" ]; then
|
||||
# run benchmark tests
|
||||
ginkgo -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1
|
||||
ginkgo -randomizeAllSpecs -randomizeSuites -trace benchmark -- -size=10
|
||||
# run benchmark tests with the Go race detector
|
||||
# The Go race detector only works on amd64.
|
||||
if [ ${TRAVIS_GOARCH} == 'amd64' ]; then
|
||||
ginkgo -race -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1 -size=10
|
||||
ginkgo -race -randomizeAllSpecs -randomizeSuites -trace benchmark -- -size=5
|
||||
fi
|
||||
# run integration tests
|
||||
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests
|
||||
|
||||
Reference in New Issue
Block a user