]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest/wic: clean up only_for_arch decorator
authorRoss Burton <ross@burtonini.com>
Thu, 31 Mar 2022 18:28:58 +0000 (19:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Apr 2022 22:05:31 +0000 (23:05 +0100)
commite8e6c679f6eb74cb25c124a18af88dd5c2e2c833
tree4d4dbee5dd5b1615fb4e96db0e4389718b257f46
parentde3c8994dc482cf5e9f3317c4762fe4ac35d9f31
oeqa/selftest/wic: clean up only_for_arch decorator

There's no need to pass a recipe name when determining the target
architecture, there's no need to cap the size of the lru_cache as it
will only have one entry, and __name__ is set by @wraps.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/selftest/cases/wic.py