summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-03-17 22:09:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-20 23:12:29 +0000
commit40a55f1594822fdf6d1050da9cceaf0f563bdad3 (patch)
treef834696c2c24fbf7c560c57fc5a439d651256d47 /meta
parentf64fdd2734ea06ffc8b439225850a8e5a76829bb (diff)
downloadpoky-40a55f1594822fdf6d1050da9cceaf0f563bdad3.tar.gz
oeqa/selftest/buildoptions: test read-only-rootfs
Add a test to build core-image-sato with read-only-rootfs enabled. [ YOCTO #9214 ] (From OE-Core rev: c23dc788386a8d3636f7f656667dc87052cf73d9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/buildoptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index 491ce50ea7..2fc77e1ed4 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -57,6 +57,10 @@ class ImageOptionsTests(oeSelfTest):
57 res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True) 57 res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True)
58 self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")) 58 self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile"))
59 59
60 def test_read_only_image(self):
61 self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
62 bitbake("core-image-sato")
63 # do_image will fail if there are any pending postinsts
60 64
61class DiskMonTest(oeSelfTest): 65class DiskMonTest(oeSelfTest):
62 66