From c45d45422d689c01450d23c81c198ad1d02811ba Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Tue, 9 Jul 2024 15:26:13 +0200 Subject: 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). (From OE-Core rev: 71c4bba0235b4cd45dc88844263e7b3f8ad9f079) Signed-off-by: Yoann Congal Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/classes-global/insane.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index b6c7348999..191f6940d9 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'))): -- cgit v1.2.3-54-g00ecf