From c3e3f05991913ed3df124fe5c030e23a0fac5724 Mon Sep 17 00:00:00 2001 From: Nikita Dubrovskii Date: Mon, 4 May 2026 13:58:28 +0200 Subject: [PATCH] kolaTestIso: check for testiso command before running tests Part of folding testiso into kola run. --- vars/kolaTestIso.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vars/kolaTestIso.groovy b/vars/kolaTestIso.groovy index dae9fc5..41afc0d 100644 --- a/vars/kolaTestIso.groovy +++ b/vars/kolaTestIso.groovy @@ -11,6 +11,11 @@ def call(params = [:]) { def extraArgs = params.get('extraArgs', ""); def marker = params.get('marker', ""); + // Check if kola has testiso command, skip if not available + if (shwrapRc("cosa kola help | grep -q testiso") != 0) { + echo "Skipping kola testiso: command not available in this version of kola" + return + } if (params['skipUEFI']) { extraArgs += " --denylist-test *.uefi*"