mirror of https://github.com/containers/podman.git
Require a non-generic reason for non-Fedora skip
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
d79e3a23db
commit
c193dbd942
|
@ -817,10 +817,10 @@ func SkipOnOSVersion(os, version string) {
|
|||
}
|
||||
}
|
||||
|
||||
func SkipIfNotFedora() {
|
||||
func SkipIfNotFedora(reason string) {
|
||||
info := GetHostDistributionInfo()
|
||||
if info.Distribution != "fedora" {
|
||||
Skip("Test can only run on Fedora")
|
||||
Skip(reason)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue