forked from quic-go/quic-go
Merge pull request #740 from lucas-clemente/benchmark-tests-race-detector
run benchmark tests with the race detector on Travis
This commit is contained in:
@@ -8,6 +8,13 @@ if [ ${TESTMODE} == "unit" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${TESTMODE} == "integration" ]; then
|
if [ ${TESTMODE} == "integration" ]; then
|
||||||
|
# run benchmark tests
|
||||||
ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress -focus "Benchmark"
|
ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress -focus "Benchmark"
|
||||||
|
# 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 --progress -focus "Benchmark"
|
||||||
|
fi
|
||||||
|
# run integration tests
|
||||||
ginkgo -v -r --randomizeAllSpecs --randomizeSuites --trace --progress integrationtests
|
ginkgo -v -r --randomizeAllSpecs --randomizeSuites --trace --progress integrationtests
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user