mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
oeqa/sdk: allow epoxy/galculator tests to run in esdk and direct yocto builds
Other tests already have similar tweaks. (From OE-Core rev: 3134d19ba15bb783389c40617d5e2b568c7cd81c) 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
3afd79df9e
commit
638f988602
@@ -16,7 +16,8 @@ class EpoxyTest(OESDKTestCase):
|
||||
Test that Meson builds correctly.
|
||||
"""
|
||||
def setUp(self):
|
||||
if not (self.tc.hasHostPackage("nativesdk-meson")):
|
||||
if not (self.tc.hasHostPackage("nativesdk-meson") or
|
||||
self.tc.hasHostPackage("meson-native")):
|
||||
raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson")
|
||||
|
||||
def test_epoxy(self):
|
||||
|
||||
@@ -19,7 +19,8 @@ class GalculatorTest(OESDKTestCase):
|
||||
if not (self.tc.hasTargetPackage("gtk+3", multilib=True) or \
|
||||
self.tc.hasTargetPackage("libgtk-3.0", multilib=True)):
|
||||
raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3")
|
||||
if not (self.tc.hasHostPackage("nativesdk-gettext-dev")):
|
||||
if not (self.tc.hasHostPackage("nativesdk-gettext-dev") or
|
||||
self.tc.hasHostPackage("gettext-native")):
|
||||
raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext")
|
||||
|
||||
def test_galculator(self):
|
||||
|
||||
Reference in New Issue
Block a user