mirror of https://github.com/containers/podman.git
test/e2e: SkipOnOSVersion() add reason field
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
e74df8c35a
commit
e6d8603136
|
@ -923,10 +923,10 @@ func SkipIfNotSystemd(manager, reason string) {
|
|||
}
|
||||
}
|
||||
|
||||
func SkipOnOSVersion(os, version string) {
|
||||
func SkipOnOSVersion(os, version string, reason string) {
|
||||
info := GetHostDistributionInfo()
|
||||
if info.Distribution == os && info.Version == version {
|
||||
Skip(fmt.Sprintf("Test doesn't work on %s %s", os, version))
|
||||
Skip(fmt.Sprintf("[%s %s]: %s", os, version, reason))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue