diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-11-06 10:34:12 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-08 11:00:09 +0000 |
commit | 1c135f1d7af041167555fe1a368b56799bb89cf9 (patch) | |
tree | 1ba1447b5d6e83b3992f16eccf8a6f35d2893eb0 /meta/lib/patchtest/patch.py | |
parent | b7289510855fbf908ff60cff2ee642867c44dbea (diff) | |
download | poky-1c135f1d7af041167555fe1a368b56799bb89cf9.tar.gz |
patchtest: rework license checksum tests
Remove the pretest_lic_files_chksum_modified_not_mentioned test entirely
and use pyparsing in test_lic_files_chksum_modified_not_mentioned to
scan the patches for lines starting with either "+LIC_FILES_CHKSUM" or
"-LIC_FILES_CHKSUM". If either is found but no "License-Update" tag is
present in the commit, fail the test.
(From OE-Core rev: 8e1bda0eb225ada22fdf5990edfec512be1d6629)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/patch.py')
0 files changed, 0 insertions, 0 deletions