diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/buildoptions.py')
-rw-r--r-- | meta/lib/oeqa/selftest/buildoptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index 9487898b07..25d14f7c7a 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py | |||
@@ -43,6 +43,9 @@ class ImageOptionsTests(oeSelfTest): | |||
43 | 43 | ||
44 | @testcase(1435) | 44 | @testcase(1435) |
45 | def test_read_only_image(self): | 45 | def test_read_only_image(self): |
46 | distro_features = get_bb_var('DISTRO_FEATURES') | ||
47 | if not ('x11' in distro_features and 'opengl' in distro_features): | ||
48 | self.skipTest('core-image-sato requires x11 and opengl in distro features') | ||
46 | self.write_config('IMAGE_FEATURES += "read-only-rootfs"') | 49 | self.write_config('IMAGE_FEATURES += "read-only-rootfs"') |
47 | bitbake("core-image-sato") | 50 | bitbake("core-image-sato") |
48 | # do_image will fail if there are any pending postinsts | 51 | # do_image will fail if there are any pending postinsts |