summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 19:31:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:40 +0000
commit4c790357bf59d054ecbdc16d7a447fcd3aeaddd2 (patch)
treef456ab5db0dcb04ffaab4891c6bea40f8eddabb2
parentbe8de607a99152cf29bc2239bd885a4159e62500 (diff)
downloadpoky-4c790357bf59d054ecbdc16d7a447fcd3aeaddd2.tar.gz
oeqa/selftest/buildoptions: skip test_read_only_image on qemuarm64
qemuarm64 currently uses SERIAL_CONSOLES_CHECK but this is incompatible with read-only rootfs under sysvinit. Until qemuarm64 doesn't use this, skip the test on qemuarm64. (From OE-Core rev: c46be833efc5abea577251ef7e87ef90f08c4de3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/buildoptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
index ee3e28d74b..01ea4dce39 100644
--- a/meta/lib/oeqa/selftest/cases/buildoptions.py
+++ b/meta/lib/oeqa/selftest/cases/buildoptions.py
@@ -11,6 +11,7 @@ import shutil
11import tempfile 11import tempfile
12from oeqa.selftest.case import OESelftestTestCase 12from oeqa.selftest.case import OESelftestTestCase
13from oeqa.selftest.cases.buildhistory import BuildhistoryBase 13from oeqa.selftest.cases.buildhistory import BuildhistoryBase
14from oeqa.core.decorator.data import skipIfMachine
14from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars 15from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars
15import oeqa.utils.ftools as ftools 16import oeqa.utils.ftools as ftools
16 17
@@ -49,6 +50,8 @@ class ImageOptionsTests(OESelftestTestCase):
49 loglines = "".join(f.readlines()) 50 loglines = "".join(f.readlines())
50 self.assertIn("ccache", loglines, msg="No match for ccache in %s log.do_compile. For further details: %s" % (recipe , log_compile)) 51 self.assertIn("ccache", loglines, msg="No match for ccache in %s log.do_compile. For further details: %s" % (recipe , log_compile))
51 52
53 # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14962
54 @skipIfMachine("qemuarm64", "fails on qemuarm64 (uses SERIAL_CONSOLES_CHECK)")
52 def test_read_only_image(self): 55 def test_read_only_image(self):
53 distro_features = get_bb_var('DISTRO_FEATURES') 56 distro_features = get_bb_var('DISTRO_FEATURES')
54 if not ('x11' in distro_features and 'opengl' in distro_features): 57 if not ('x11' in distro_features and 'opengl' in distro_features):