]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
patchtest: shorten patch signed-off-by test output
authorTrevor Gamblin <tgamblin@baylibre.com>
Wed, 29 Nov 2023 14:32:41 +0000 (09:32 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Dec 2023 11:23:33 +0000 (11:23 +0000)
commitcc7546ded87dd44a988d7a23f1d7645094b5cdd4
tree0c0f6eb8dbef9cc0b10385c8ae883a893d6f7e89
parent4616ada82e7079f0cc7e995c2f421f43b54d4a08
patchtest: shorten patch signed-off-by test output

The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.

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>
meta/lib/patchtest/tests/test_patch.py