mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 02:16:18 +00:00
selftest/cases/bblayers.py: build python3-jsonschema only once
setUpLocal runs before every testcase, setUpClass runs only once in the beginning. (From OE-Core rev: 0c23e711c277562cf32093851e43bf93a7cb61dc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c8d04cde0f
commit
1caca66021
@ -14,7 +14,9 @@ from oeqa.selftest.case import OESelftestTestCase
|
||||
|
||||
class BitbakeLayers(OESelftestTestCase):
|
||||
|
||||
def setUpLocal(self):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super(BitbakeLayers, cls).setUpClass()
|
||||
bitbake("python3-jsonschema-native")
|
||||
bitbake("-c addto_recipe_sysroot python3-jsonschema-native")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user