From: Yoann Congal Date: Tue, 9 Jul 2024 13:26:13 +0000 (+0200) Subject: Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes" X-Git-Tag: uninative-4.6~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c4bba0235b4cd45dc88844263e7b3f8ad9f079;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes" S=WORKDIR is not supported anymore, so the check is now redundant. This reverts commit 9a2d2f7c2b7236667a6d80355f73db4c27e6582e (in OE-Core). Signed-off-by: Yoann Congal Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index b6c7348999d..191f6940d95 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -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'))):