From: Quentin Schulz <quentin.sch...@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.sch...@cherry.de>
---
 .b4-config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

-- 
2.48.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210665): 
https://lists.openembedded.org/g/openembedded-core/message/210665
Mute This Topic: https://lists.openembedded.org/mt/110973480/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to