Skip to content

Commit 331f68c

Browse files
committed
mantle/kola: add --on-warn-failure-exit-77 compat option
It does nothing. This isn't a full backport. We just want to use the same code in the pipeline for all streams.
1 parent 733366a commit 331f68c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mantle/cmd/kola/options.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func init() {
5757
root.PersistentFlags().StringVarP(&kolaParallelArg, "parallel", "j", "1", "number of tests to run in parallel, or \"auto\" to match CPU count")
5858
sv(&kola.TAPFile, "tapfile", "", "file to write TAP results to")
5959
root.PersistentFlags().BoolVarP(&kola.Options.NoTestExitError, "no-test-exit-error", "T", false, "Don't exit with non-zero if tests fail")
60+
root.PersistentFlags().BoolVarP(&kola.Options.UseWarnExitCode77, "on-warn-failure-exit-77", "", false, "NOOP compatibility convenience")
6061
sv(&kola.Options.BaseName, "basename", "kola", "Cluster name prefix")
6162
ss("debug-systemd-unit", []string{}, "full-unit-name.service to enable SYSTEMD_LOG_LEVEL=debug on. Can be specified multiple times.")
6263
ssv(&kola.DenylistedTests, "denylist-test", []string{}, "Test pattern to add to denylist. Can be specified multiple times.")

mantle/platform/platform.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ type Options struct {
182182
CosaBuildId string
183183
CosaBuildArch string
184184

185-
NoTestExitError bool
185+
NoTestExitError bool
186+
UseWarnExitCode77 bool
186187

187188
AppendButane string
188189
AppendIgnition string

0 commit comments

Comments
 (0)