summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-10-27 11:43:38 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-27 17:48:08 +0100
commit2e2625735181160e9760a6f3af4955bda2ea6d4d (patch)
tree68816c7cca3e918bed2aa785719e0ebc534af2c2 /meta/lib
parentd2c287db0739b249604cd1beaa03ec38512ba718 (diff)
downloadopenembedded-core-contrib-2e2625735181160e9760a6f3af4955bda2ea6d4d.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. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
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):