summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-10-27 11:43:38 -0400
committerSteve Sakoman <steve@sakoman.com>2023-11-24 05:01:37 -1000
commit9f4d69790c7b9812dba0e6f422635bf73d53a1d0 (patch)
tree503849efcdf966ba4b15903703785caa3209ad07 /meta
parentf575a3bdd5f68097292ea4c8a193b4cf8dbaf674 (diff)
downloadpoky-9f4d69790c7b9812dba0e6f422635bf73d53a1d0.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/patchtest/tests/test_metadata.py2
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 34e119174f..3742760b45 100644
--- a/meta/lib/patchtest/tests/test_metadata.py
+++ b/meta/lib/patchtest/tests/test_metadata.py
@@ -116,7 +116,7 @@ class TestMetadata(base.Metadata):
116 if self.lictag_re.search_string(commit.commit_message): 116 if self.lictag_re.search_string(commit.commit_message):
117 break 117 break
118 else: 118 else:
119 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, 119 self.fail('LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message',
120 data=[('Current checksum', pretest), ('New checksum', test)]) 120 data=[('Current checksum', pretest), ('New checksum', test)])
121 121
122 def test_max_line_length(self): 122 def test_max_line_length(self):