summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/cases/common.py
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-04-08 18:58:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-10 11:05:34 +0100
commitc4dc4744260389ebc5169324ce06f0babe7e69ff (patch)
tree91009ef2a5796ff99c5e6836fc2547f684e02dbf /scripts/lib/checklayer/cases/common.py
parent13cc3e5ccf017c5a9e38214df45b29a455eb3629 (diff)
downloadpoky-c4dc4744260389ebc5169324ce06f0babe7e69ff.tar.gz
yocto-check-layer: expect success for test_patches_upstream_status
When the Upstream-Status tag for patches became mandatory, the test verifying the presence of this tag was made to not fail the layer compatibility tests, in order to allow time for the maintainers to adapt to this change. This was two years before this commit. Since then the layer compatibility script shows a cryptic "unexpected success" result for this test, which of course becomes clear once one checks the code and commit history, but it is a nuisance still, which shouldn't be needed to understand the result. This commit removes the the related annotation so the compatibility check will pass or fail with a clear message - in hope that 2 years was enough for active maintainers to adjust their patches. (From OE-Core rev: 64175a41f48fce69a5205000865cc3b8648476f7) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/cases/common.py')
-rw-r--r--scripts/lib/checklayer/cases/common.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/cases/common.py b/scripts/lib/checklayer/cases/common.py
index 51233de767..ddead69a7b 100644
--- a/scripts/lib/checklayer/cases/common.py
+++ b/scripts/lib/checklayer/cases/common.py
@@ -104,7 +104,6 @@ class CommonCheckLayer(OECheckLayerTestCase):
104 self.tc.layer['name']) 104 self.tc.layer['name'])
105 self.fail('\n'.join(msg)) 105 self.fail('\n'.join(msg))
106 106
107 @unittest.expectedFailure
108 def test_patches_upstream_status(self): 107 def test_patches_upstream_status(self):
109 import sys 108 import sys
110 sys.path.append(os.path.join(sys.path[0], '../../../../meta/lib/')) 109 sys.path.append(os.path.join(sys.path[0], '../../../../meta/lib/'))