diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 31acbc652f..57d3852d57 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
| @@ -129,6 +129,22 @@ class TestImage(OESelftestTestCase): | |||
| 129 | bitbake('core-image-full-cmdline socat') | 129 | bitbake('core-image-full-cmdline socat') |
| 130 | bitbake('-c testimage core-image-full-cmdline') | 130 | bitbake('-c testimage core-image-full-cmdline') |
| 131 | 131 | ||
| 132 | def test_testimage_slirp(self): | ||
| 133 | """ | ||
| 134 | Summary: Check basic testimage functionality with qemu and slirp networking. | ||
| 135 | """ | ||
| 136 | |||
| 137 | features = ''' | ||
| 138 | IMAGE_CLASSES:append = " testimage" | ||
| 139 | IMAGE_FEATURES:append = " ssh-server-dropbear" | ||
| 140 | IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("IMAGE_CLASSES", "testimage", " + 5120", "", d)}" | ||
| 141 | TEST_RUNQEMUPARAMS:append = " slirp" | ||
| 142 | ''' | ||
| 143 | self.write_config(features) | ||
| 144 | |||
| 145 | bitbake('core-image-minimal') | ||
| 146 | bitbake('-c testimage core-image-minimal') | ||
| 147 | |||
| 132 | def test_testimage_dnf(self): | 148 | def test_testimage_dnf(self): |
| 133 | """ | 149 | """ |
| 134 | Summary: Check package feeds functionality for dnf | 150 | Summary: Check package feeds functionality for dnf |
