diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 9fec4d869b..2ac0a29761 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -109,16 +109,32 @@ class TestImage(OESelftestTestCase): | |||
109 | Summary: Check install packages functionality for testimage/testexport. | 109 | Summary: Check install packages functionality for testimage/testexport. |
110 | Expected: 1. Import tests from a directory other than meta. | 110 | Expected: 1. Import tests from a directory other than meta. |
111 | 2. Check install/uninstall of socat. | 111 | 2. Check install/uninstall of socat. |
112 | 3. Check that remote package feeds can be accessed | ||
113 | Product: oe-core | 112 | Product: oe-core |
114 | Author: Mariano Lopez <mariano.lopez@intel.com> | 113 | Author: Mariano Lopez <mariano.lopez@intel.com> |
115 | Author: Alexander Kanavin <alexander.kanavin@intel.com> | ||
116 | """ | 114 | """ |
117 | if get_bb_var('DISTRO') == 'poky-tiny': | 115 | if get_bb_var('DISTRO') == 'poky-tiny': |
118 | self.skipTest('core-image-full-cmdline not buildable for poky-tiny') | 116 | self.skipTest('core-image-full-cmdline not buildable for poky-tiny') |
119 | 117 | ||
120 | features = 'INHERIT += "testimage"\n' | 118 | features = 'INHERIT += "testimage"\n' |
121 | features += 'TEST_SUITES = "ping ssh selftest"\n' | 119 | features += 'TEST_SUITES = "ping ssh selftest"\n' |
120 | self.write_config(features) | ||
121 | |||
122 | # Build core-image-sato and testimage | ||
123 | bitbake('core-image-full-cmdline socat') | ||
124 | bitbake('-c testimage core-image-full-cmdline') | ||
125 | |||
126 | def test_testimage_dnf(self): | ||
127 | """ | ||
128 | Summary: Check package feeds functionality for dnf | ||
129 | Expected: 1. Check that remote package feeds can be accessed | ||
130 | Product: oe-core | ||
131 | Author: Alexander Kanavin <alexander.kanavin@intel.com> | ||
132 | """ | ||
133 | if get_bb_var('DISTRO') == 'poky-tiny': | ||
134 | self.skipTest('core-image-full-cmdline not buildable for poky-tiny') | ||
135 | |||
136 | features = 'INHERIT += "testimage"\n' | ||
137 | features += 'TEST_SUITES = "ping ssh dnf-runtime"\n' | ||
122 | # We don't yet know what the server ip and port will be - they will be patched | 138 | # We don't yet know what the server ip and port will be - they will be patched |
123 | # in at the start of the on-image test | 139 | # in at the start of the on-image test |
124 | features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n' | 140 | features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n' |