enable logging via command line flag in benchmark tests

using the same package used in the integration tests
This commit is contained in:
Marten Seemann
2017-09-14 15:54:05 +07:00
parent 222d34655a
commit 31ada37e22
2 changed files with 2 additions and 2 deletions

View File

@@ -27,8 +27,7 @@ install:
- go get -v -t ./...
build_script:
- rm -r integrationtests
- ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage benchmark
- ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage benchmark,integrationtests
- ginkgo -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1
test: off

View File

@@ -9,6 +9,7 @@ import (
"net"
quic "github.com/lucas-clemente/quic-go"
_ "github.com/lucas-clemente/quic-go/integrationtests/tools/testlog"
"github.com/lucas-clemente/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testdata"
. "github.com/onsi/ginkgo"