[2/6] testsuite: enable ccache on kernel tests

Message ID 20251217140827.166531-3-felix.moessbauer@siemens.com
State Under Review
Headers show
Series [1/6] testsuite: move targets with custom kernel to separate test | expand

Commit Message

Felix Moessbauer Dec. 17, 2025, 2:08 p.m. UTC
The kernels are anyways usually built with ccache enabled to reduce the
buildtime. By enabling it in the test as well, we can significantly
bring down test time on repeated builds.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 testsuite/citest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index cb63a8fe..cba3c008 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -280,7 +280,7 @@  class KernelTests(CIBaseTest):
         ]
 
         self.init()
-        self.perform_build_test(targets)
+        self.perform_build_test(targets, ccache=True)
 
     def test_per_kernel(self):
         """Test per-kernel recipe variants for external kernel modules."""