Skip to content

Commit 384df83

Browse files
Merge pull request #168 from nikita-dubrovskii/fold_testiso
kolaTestIso: check for testiso command before running tests
2 parents 6a64d66 + c3e3f05 commit 384df83

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

vars/kolaTestIso.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ def call(params = [:]) {
1111
def extraArgs = params.get('extraArgs', "");
1212
def marker = params.get('marker', "");
1313

14+
// Check if kola has testiso command, skip if not available
15+
if (shwrapRc("cosa kola help | grep -q testiso") != 0) {
16+
echo "Skipping kola testiso: command not available in this version of kola"
17+
return
18+
}
1419

1520
if (params['skipUEFI']) {
1621
extraArgs += " --denylist-test *.uefi*"

0 commit comments

Comments
 (0)