From 31ada37e227d07590e80b9d11b2e33f1d0a47576 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 14 Sep 2017 15:54:05 +0700 Subject: [PATCH] enable logging via command line flag in benchmark tests using the same package used in the integration tests --- appveyor.yml | 3 +-- benchmark/benchmark_test.go | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5dccd3841..6871fe33c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/benchmark/benchmark_test.go b/benchmark/benchmark_test.go index bb96cdace..59108fba6 100644 --- a/benchmark/benchmark_test.go +++ b/benchmark/benchmark_test.go @@ -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"