diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-01 14:23:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 14:23:50 +0100 |
commit | 9a28a12c9bc6f681558f7aa6f797765262fab81b (patch) | |
tree | c12b0f0e8165b1f8716d136ec216a07d432e2b34 /vendor/github.com/onsi/ginkgo/config/config.go | |
parent | 7c7f0000cee78aa3e13f2e467943fa2d96bc8f81 (diff) | |
parent | e22777c3fcde4d2d55e9104567ed2107c15db9ff (diff) | |
download | podman-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/config/config.go')
-rw-r--r-- | vendor/github.com/onsi/ginkgo/config/config.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vendor/github.com/onsi/ginkgo/config/config.go b/vendor/github.com/onsi/ginkgo/config/config.go index ac55a5ad2..89ec2b29a 100644 --- a/vendor/github.com/onsi/ginkgo/config/config.go +++ b/vendor/github.com/onsi/ginkgo/config/config.go @@ -20,7 +20,7 @@ import ( "fmt" ) -const VERSION = "1.10.1" +const VERSION = "1.10.3" type GinkgoConfigType struct { RandomSeed int64 @@ -53,6 +53,7 @@ type DefaultReporterConfigType struct { Verbose bool FullTrace bool ReportPassed bool + ReportFile string } var DefaultReporterConfig = DefaultReporterConfigType{} @@ -100,6 +101,8 @@ func Flags(flagSet *flag.FlagSet, prefix string, includeParallelFlags bool) { flagSet.BoolVar(&(DefaultReporterConfig.Succinct), prefix+"succinct", false, "If set, default reporter prints out a very succinct report") flagSet.BoolVar(&(DefaultReporterConfig.FullTrace), prefix+"trace", false, "If set, default reporter prints out the full stack trace when a failure occurs") flagSet.BoolVar(&(DefaultReporterConfig.ReportPassed), prefix+"reportPassed", false, "If set, default reporter prints out captured output of passed tests.") + flagSet.StringVar(&(DefaultReporterConfig.ReportFile), prefix+"reportFile", "", "Override the default reporter output file path.") + } func BuildFlagArgs(prefix string, ginkgo GinkgoConfigType, reporter DefaultReporterConfigType) []string { @@ -202,5 +205,9 @@ func BuildFlagArgs(prefix string, ginkgo GinkgoConfigType, reporter DefaultRepor result = append(result, fmt.Sprintf("--%sreportPassed", prefix)) } + if reporter.ReportFile != "" { + result = append(result, fmt.Sprintf("--%sreportFile=%s", prefix, reporter.ReportFile)) + } + return result } |