diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-09-24 07:54:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:50 +0100 |
commit | d6ede9c73b44062d8831a08f522d519591bf29c2 (patch) | |
tree | 17711c77f409da9d7ed38361c9551e6bb6f967dd /meta/lib/patchtest/tests/test_metadata.py | |
parent | bb0f1625d7655d04c6df3c144e488f676ff2f762 (diff) | |
download | poky-d6ede9c73b44062d8831a08f522d519591bf29c2.tar.gz |
patchtest: mbox.py: new data implementation
Consolidate and improve some objects:
- absorb utils.py functionality
- repo.py: use mbox.py
- repo.py: remove some cruft
- utils.py: replace with logs.py
- utils.py: delete
- patch.py: delete
- scripts/patchtest: use logging directly
- general cleanup
(From OE-Core rev: d4fbdb1d15f281b236137d63710c73bca8911a36)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/tests/test_metadata.py')
-rw-r--r-- | meta/lib/patchtest/tests/test_metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/patchtest/tests/test_metadata.py b/meta/lib/patchtest/tests/test_metadata.py index 8c2305a184..d7e5e187f6 100644 --- a/meta/lib/patchtest/tests/test_metadata.py +++ b/meta/lib/patchtest/tests/test_metadata.py | |||
@@ -168,7 +168,7 @@ class TestMetadata(base.Metadata): | |||
168 | def test_cve_check_ignore(self): | 168 | def test_cve_check_ignore(self): |
169 | # Skip if we neither modified a recipe or target branches are not | 169 | # Skip if we neither modified a recipe or target branches are not |
170 | # Nanbield and newer. CVE_CHECK_IGNORE was first deprecated in Nanbield. | 170 | # Nanbield and newer. CVE_CHECK_IGNORE was first deprecated in Nanbield. |
171 | if not self.modified or PatchTestInput.repo.branch == "kirkstone" or PatchTestInput.repo.branch == "dunfell": | 171 | if not self.modified or PatchTestInput.repo.patch.branch == "kirkstone" or PatchTestInput.repo.patch.branch == "dunfell": |
172 | self.skip('No modified recipes or older target branch, skipping test') | 172 | self.skip('No modified recipes or older target branch, skipping test') |
173 | for pn in self.modified: | 173 | for pn in self.modified: |
174 | # we are not interested in images | 174 | # we are not interested in images |