diff mbox series

[RFC,6/6] b4: enable patchtest as b4 prep --check step

Message ID 20250203-b4-patchtest-v1-6-ef6ee5fcdd78@cherry.de
State New
Headers show
Series prepare patchtest to be run with b4 prep --check | expand

Commit Message

Quentin Schulz Feb. 3, 2025, 4 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

Now that patchtest is silent when everything goes well, we can use it as
validation step in OE-Core for each local commit with b4 prep --check.

While at it reenable the pre-flight check for b4 prep --check.

oe-init-buildenv needs to be sourced first to make patchtest available
in PATH and a few Python modules installed (e.g. unidiff, pylint, ...;
see meta/lib/patchtest/requirements.txt).

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 .b4-config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.b4-config b/.b4-config
index 8ec5ddd91e1da05f27a53ff6f3d7351317461859..58b45051d554a13643ad65ff6602de82c0c91844 100644
--- a/.b4-config
+++ b/.b4-config
@@ -1,3 +1,4 @@ 
 [b4]
   send-series-cc = openembedded-core@lists.openembedded.org
-  prep-pre-flight-checks = disable-needs-auto-to-cc, disable-needs-checking
+  prep-perpatch-check-cmd = patchtest --patch - --quiet --no-summary
+  prep-pre-flight-checks = disable-needs-auto-to-cc