Require a non-generic reason for non-Fedora skip

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2023-08-08 11:33:09 -04:00
parent d79e3a23db
commit c193dbd942
No known key found for this signature in database
GPG Key ID: 03EDC70FD578067F
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}