]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-check-layer: expect success for test_patches_upstream_status
authorGyorgy Sarvari <skandigraun@gmail.com>
Tue, 8 Apr 2025 16:58:42 +0000 (18:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Apr 2025 09:40:39 +0000 (10:40 +0100)
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.

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>
scripts/lib/checklayer/cases/common.py

index 51233de767e619b83532b6ad5b75f4d5a86e6a1f..ddead69a7be8529a72bf165a52623164422fea4e 100644 (file)
@@ -104,7 +104,6 @@ class CommonCheckLayer(OECheckLayerTestCase):
                 self.tc.layer['name'])
             self.fail('\n'.join(msg))
 
-    @unittest.expectedFailure
     def test_patches_upstream_status(self):
         import sys
         sys.path.append(os.path.join(sys.path[0], '../../../../meta/lib/'))