summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Lorenz <philip.lorenz@bmw.de>2025-07-28 11:59:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-31 10:48:35 +0100
commit03f7151e011693a7ce90107ffed4b3da9cdd4b56 (patch)
tree7318661b7558948bb493a7e82530ca55e6be3db6
parentc4110987b193403ed5fdb0204f3395c77afc323e (diff)
downloadpoky-03f7151e011693a7ce90107ffed4b3da9cdd4b56.tar.gz
setuptools3: Add missing call to exit_if_errors
`exit_if_errors` must be called explicitly at the end of the task execution to ensure that QA issues categorized as errors fail the task. (From OE-Core rev: acc0c57e455670501433ba4514a977e16dc88c34) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/setuptools3.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/setuptools3.bbclass b/meta/classes-recipe/setuptools3.bbclass
index 0adce5e2ec..c2f4b0287c 100644
--- a/meta/classes-recipe/setuptools3.bbclass
+++ b/meta/classes-recipe/setuptools3.bbclass
@@ -23,6 +23,7 @@ python do_check_backend() {
23 msg = f"inherits setuptools3 but has pyproject.toml with {match[1]}, use the correct class" 23 msg = f"inherits setuptools3 but has pyproject.toml with {match[1]}, use the correct class"
24 if "pep517-backend" not in (d.getVar("INSANE_SKIP") or "").split(): 24 if "pep517-backend" not in (d.getVar("INSANE_SKIP") or "").split():
25 oe.qa.handle_error("pep517-backend", msg, d) 25 oe.qa.handle_error("pep517-backend", msg, d)
26 oe.qa.exit_if_errors(d)
26} 27}
27addtask check_backend after do_patch before do_configure 28addtask check_backend after do_patch before do_configure
28 29