poky/meta/lib/patchtest/tests
Trevor Gamblin fd06e4f266 patchtest: clean up test suite
Various tweaks to make the test suite cleaner and more efficient:

- Replace use of "re" module with "pyparsing" in tests (but not base.py)
- Make test_mbox_cve only check for CVE tags in the commit if the added
  patch has them
- Make test_mbox_cve SKIP instead of PASS if there's no CVE tag
- Simplify the bugzilla tag checking test now that pyparsing is used
- Modify the selftest script to correctly parse the new result output

(From OE-Core rev: 7a187c2475aa762e2bc830950f608143f2535a72)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-13 11:53:06 +01:00
..
pyparsing lib/oe/qa: remove obsolete "Accepted" string for Upstream-Status 2023-09-22 07:45:17 +01:00
__init__.py
base.py
test_mbox_author.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_mbox_bugzilla.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_mbox_cve.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_mbox_description.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_mbox_format.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_mbox_mailinglist.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_mbox_merge.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_mbox_shortlog.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_mbox_signed_off_by.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_metadata_lic_files_chksum.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_metadata_license.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_metadata_max_length.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_metadata_src_uri.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_metadata_summary.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_patch_cve.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_patch_signed_off_by.py patchtest: clean up test suite 2023-10-13 11:53:06 +01:00
test_patch_upstream_status.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00
test_python_pylint.py patchtest: improve test issue messages 2023-10-13 11:53:06 +01:00