summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-07-22 20:39:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-28 11:50:17 +0100
commit638f988602a2c6200deced46b1b1d65835387238 (patch)
treecf742b4c450c0cd34b34afeb398807827724a98a /meta/lib/oeqa/sdk
parent3afd79df9e939e2dcdef7cdeb430dd81458673bc (diff)
downloadpoky-638f988602a2c6200deced46b1b1d65835387238.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-rw-r--r--meta/lib/oeqa/sdk/cases/buildepoxy.py3
-rw-r--r--meta/lib/oeqa/sdk/cases/buildgalculator.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py
index f69f720cd6..ad08b777f2 100644
--- a/meta/lib/oeqa/sdk/cases/buildepoxy.py
+++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py
@@ -16,7 +16,8 @@ class EpoxyTest(OESDKTestCase):
16 Test that Meson builds correctly. 16 Test that Meson builds correctly.
17 """ 17 """
18 def setUp(self): 18 def setUp(self):
19 if not (self.tc.hasHostPackage("nativesdk-meson")): 19 if not (self.tc.hasHostPackage("nativesdk-meson") or
20 self.tc.hasHostPackage("meson-native")):
20 raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson") 21 raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson")
21 22
22 def test_epoxy(self): 23 def test_epoxy(self):
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py
index eb3c8ddf39..58ade920c9 100644
--- a/meta/lib/oeqa/sdk/cases/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py
@@ -19,7 +19,8 @@ class GalculatorTest(OESDKTestCase):
19 if not (self.tc.hasTargetPackage("gtk+3", multilib=True) or \ 19 if not (self.tc.hasTargetPackage("gtk+3", multilib=True) or \
20 self.tc.hasTargetPackage("libgtk-3.0", multilib=True)): 20 self.tc.hasTargetPackage("libgtk-3.0", multilib=True)):
21 raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") 21 raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3")
22 if not (self.tc.hasHostPackage("nativesdk-gettext-dev")): 22 if not (self.tc.hasHostPackage("nativesdk-gettext-dev") or
23 self.tc.hasHostPackage("gettext-native")):
23 raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") 24 raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext")
24 25
25 def test_galculator(self): 26 def test_galculator(self):