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 4, 2024
1 parent e944e1e commit d8cdaae
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 d8cdaae

Please sign in to comment.