]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/sefltest/devtool: improve assignment matching in _test_recipe_contents
authorRoss Burton <ross.burton@arm.com>
Fri, 27 Jun 2025 13:48:49 +0000 (14:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Jul 2025 07:47:23 +0000 (08:47 +0100)
commitbee528f38d39ed1f91319201e8a99c0b65c9f975
tree0e8fdf43d91ee8c2107ec896ebc155e0f9fcd2db
parent0aa406d0582d32399c48dfa78f24adc75696112c
oeqa/sefltest/devtool: improve assignment matching in _test_recipe_contents

This function assumed that all assignments are done with just "=".

However, being able to check += or ?= is also useful, so use a regex to
split the line and be more flexible about what an assignment operator
looks like.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py