diff --git a/kernelci/kbuild.py b/kernelci/kbuild.py index 233439b831..c0405a4938 100644 --- a/kernelci/kbuild.py +++ b/kernelci/kbuild.py @@ -156,6 +156,10 @@ def __init__(self, node=None, jobname=None, params=None, jsonobj=None, apiconfig self._kfselftest = False else: self._kfselftest = True + if node['jobfilter'] and self._kfselftest is True: + kselftest_name = node['name'] + "-kselftest" + if kselftest_name not in node['jobfilter']: + self._kfselftest = False self._apijobname = jobname self._steps = [] self._artifacts = []