[oe-commits] [openembedded-core] 48/82: oeqa/selftest/buildoptions: test read-only-rootfs
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 20 07:52:58 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit f28ce6bdf5936871a25b758f1d37d76325c16c71
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Mar 17 22:09:25 2016 +0000
oeqa/selftest/buildoptions: test read-only-rootfs
Add a test to build core-image-sato with read-only-rootfs enabled.
[ YOCTO #9214 ]
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index 491ce50..2fc77e1 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -57,6 +57,10 @@ class ImageOptionsTests(oeSelfTest):
res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True)
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"))
+ def test_read_only_image(self):
+ self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
+ bitbake("core-image-sato")
+ # do_image will fail if there are any pending postinsts
class DiskMonTest(oeSelfTest):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list