Skip to content

Commit

Permalink
fix(kbuild): Do not build kselftest if not set in jobfilter
Browse files Browse the repository at this point in the history
To speed up bisection do not build kselftest if it is not set
in jobfilter.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Nov 5, 2024
1 parent e944e1e commit c1e953d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kernelci/kbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit c1e953d

Please sign in to comment.