mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02: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:
committed by
Richard Purdie
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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user