]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patchtest/selftest: Extract head-attached test loop into function
authorNaftaly RALAMBOARIVONY <naftaly.ralamboarivony@smile.fr>
Thu, 11 Dec 2025 15:06:44 +0000 (16:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Dec 2025 18:00:31 +0000 (18:00 +0000)
commit6cdb5cbbee6281af1b71407da0d0af74dc7b9631
tree741738d7fd143892694a51f9e23d2edc0de0eff8
parent317ef42b9b2324847574f62b1ec3627ffcf76e38
patchtest/selftest: Extract head-attached test loop into function

Move the loop that run the tests in head attached tests into a function
'test_head_attached'. Also add an explicit check for the case where no patches
are found and exit with an error.

Signed-off-by: Naftaly RALAMBOARIVONY <naftaly.ralamboarivony@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/patchtest/selftest/selftest