summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-07-09 15:26:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-16 11:56:53 +0100
commitc45d45422d689c01450d23c81c198ad1d02811ba (patch)
treecfcc91e2aae50cd2a719ff51bcd55ca68bb19bfe /meta/classes-global
parent4e96673ae25c75ccc533d0cefa14d2f47671ac67 (diff)
downloadpoky-c45d45422d689c01450d23c81c198ad1d02811ba.tar.gz
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 <yoann.congal@smile.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/insane.bbclass2
1 files changed, 0 insertions, 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() {
1364 pass 1364 pass
1365 elif bb.data.inherits_class('ptest', d): 1365 elif bb.data.inherits_class('ptest', d):
1366 bb.note("Package %s QA: skipping unimplemented-ptest: ptest implementation detected" % d.getVar('PN')) 1366 bb.note("Package %s QA: skipping unimplemented-ptest: ptest implementation detected" % d.getVar('PN'))
1367 elif srcdir == d.getVar('WORKDIR'):
1368 bb.note("Package %s QA: skipping unimplemented-ptest: This check is not supported for recipe with \"S = \"${WORKDIR}\"" % d.getVar('PN'))
1369 1367
1370 # Detect perl Test:: based tests 1368 # Detect perl Test:: based tests
1371 elif os.path.exists(os.path.join(srcdir, "t")) and any(filename.endswith('.t') for filename in os.listdir(os.path.join(srcdir, 't'))): 1369 elif os.path.exists(os.path.join(srcdir, "t")) and any(filename.endswith('.t') for filename in os.listdir(os.path.join(srcdir, 't'))):