mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
patchtest: reduce checksum test output length
The test_lic_files_chksum_modified_not_mentioned test in TestMetadata is outputting very long lines that fail the maximum length check when sending email results, preventing the actual errors from being displayed. Reduce the length of the failure message by rewording and removing redundant information. (From OE-Core rev: e3c680bab99f7e5f0cb7874ada0297b5fac66702) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e2625735181160e9760a6f3af4955bda2ea6d4d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
f575a3bdd5
commit
9f4d69790c
@@ -116,7 +116,7 @@ class TestMetadata(base.Metadata):
|
||||
if self.lictag_re.search_string(commit.commit_message):
|
||||
break
|
||||
else:
|
||||
self.fail('LIC_FILES_CHKSUM changed on target %s but there is no "License-Update:" tag in commit message. Include it with a brief description' % pn,
|
||||
self.fail('LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message',
|
||||
data=[('Current checksum', pretest), ('New checksum', test)])
|
||||
|
||||
def test_max_line_length(self):
|
||||
|
||||
Reference in New Issue
Block a user