summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-01 14:23:50 +0100
committerGitHub <noreply@github.com>2019-11-01 14:23:50 +0100
commit9a28a12c9bc6f681558f7aa6f797765262fab81b (patch)
treec12b0f0e8165b1f8716d136ec216a07d432e2b34 /vendor/github.com/onsi/ginkgo/ginkgo_dsl.go
parent7c7f0000cee78aa3e13f2e467943fa2d96bc8f81 (diff)
parente22777c3fcde4d2d55e9104567ed2107c15db9ff (diff)
downloadpodman-9a28a12c9bc6f681558f7aa6f797765262fab81b.tar.gz
podman-9a28a12c9bc6f681558f7aa6f797765262fab81b.tar.bz2
podman-9a28a12c9bc6f681558f7aa6f797765262fab81b.zip
Merge pull request #4412 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.10.3
Bump github.com/onsi/ginkgo from 1.10.1 to 1.10.3
Diffstat (limited to 'vendor/github.com/onsi/ginkgo/ginkgo_dsl.go')
-rw-r--r--vendor/github.com/onsi/ginkgo/ginkgo_dsl.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go b/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go
index 8734c061d..3cbf89a35 100644
--- a/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go
+++ b/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go
@@ -199,6 +199,11 @@ type Benchmarker interface {
// ginkgo bootstrap
func RunSpecs(t GinkgoTestingT, description string) bool {
specReporters := []Reporter{buildDefaultReporter()}
+ if config.DefaultReporterConfig.ReportFile != "" {
+ reportFile := config.DefaultReporterConfig.ReportFile
+ specReporters[0] = reporters.NewJUnitReporter(reportFile)
+ return RunSpecsWithDefaultAndCustomReporters(t, description, specReporters)
+ }
return RunSpecsWithCustomReporters(t, description, specReporters)
}