]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes"
authorYoann Congal <yoann.congal@smile.fr>
Tue, 9 Jul 2024 13:26:13 +0000 (15:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Jul 2024 10:56:47 +0000 (11:56 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass

index b6c7348999d46dd6165bfe634842dfa28d6d60bc..191f6940d955f2fda5c0a77beba1893cde2ac5d8 100644 (file)
@@ -1364,8 +1364,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'))):