diff mbox series

Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes"

Message ID 20240709132613.1265591-1-yoann.congal@smile.fr
State Accepted, archived
Commit 71c4bba0235b4cd45dc88844263e7b3f8ad9f079
Headers show
Series Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes" | expand

Commit Message

Yoann Congal July 9, 2024, 1:26 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

S=WORKDIR is not supported anymore, so the check is now redundant.

This reverts commit 9a2d2f7c2b7236667a6d80355f73db4c27e6582e (in OE-Core).

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta/classes-global/insane.bbclass | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 6888fa06f0..81c5293b45 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1365,8 +1365,6 @@  python do_qa_patch() {
         pass
     elif bb.data.inherits_class('ptest', d):
         bb.note("Package %s QA: skipping unimplemented-ptest: ptest implementation detected" % d.getVar('PN'))
-    elif srcdir == d.getVar('WORKDIR'):
-        bb.note("Package %s QA: skipping unimplemented-ptest: This check is not supported for recipe with \"S = \"${WORKDIR}\"" % d.getVar('PN'))
 
     # Detect perl Test:: based tests
     elif os.path.exists(os.path.join(srcdir, "t")) and any(filename.endswith('.t') for filename in os.listdir(os.path.join(srcdir, 't'))):