summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/buildoptions.py2
-rw-r--r--meta/lib/oeqa/selftest/devtool.py2
-rw-r--r--meta/lib/oeqa/selftest/runtime-test.py6
3 files changed, 2 insertions, 8 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index 7ace7474ea..d155f64978 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -16,7 +16,7 @@ class ImageOptionsTests(oeSelfTest):
16 image_pkgtype = get_bb_var("IMAGE_PKGTYPE") 16 image_pkgtype = get_bb_var("IMAGE_PKGTYPE")
17 if image_pkgtype != 'rpm': 17 if image_pkgtype != 'rpm':
18 self.skipTest('Not using RPM as main package format') 18 self.skipTest('Not using RPM as main package format')
19 bitbake("-c cleanall core-image-minimal") 19 bitbake("-c clean core-image-minimal")
20 self.write_config('INC_RPM_IMAGE_GEN = "1"') 20 self.write_config('INC_RPM_IMAGE_GEN = "1"')
21 self.append_config('IMAGE_FEATURES += "ssh-server-openssh"') 21 self.append_config('IMAGE_FEATURES += "ssh-server-openssh"')
22 bitbake("core-image-minimal") 22 bitbake("core-image-minimal")
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index a160c8328c..7f9efe6368 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -1654,7 +1654,7 @@ class DevtoolTests(DevtoolBase):
1654 1654
1655 tmpconfig = os.path.join(buildir, '.config') 1655 tmpconfig = os.path.join(buildir, '.config')
1656 #Step 3 1656 #Step 3
1657 bitbake('linux-yocto -c cleanall') 1657 bitbake('linux-yocto -c clean')
1658 #Step 4.1 1658 #Step 4.1
1659 runCmd('devtool modify virtual/kernel -x %s' % tempdir) 1659 runCmd('devtool modify virtual/kernel -x %s' % tempdir)
1660 self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile')), 1660 self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile')),
diff --git a/meta/lib/oeqa/selftest/runtime-test.py b/meta/lib/oeqa/selftest/runtime-test.py
index ea31c18229..e498d046cf 100644
--- a/meta/lib/oeqa/selftest/runtime-test.py
+++ b/meta/lib/oeqa/selftest/runtime-test.py
@@ -193,8 +193,6 @@ postinst-delayed-t \
193 present on rootfs dir. 193 present on rootfs dir.
194 4. Boot the image created on qemu and verify that the file 194 4. Boot the image created on qemu and verify that the file
195 created by postinst_boot recipe is present on image. 195 created by postinst_boot recipe is present on image.
196 5. Clean the packages and image created to test with
197 different package managers
198 Expected: The files are successfully created during rootfs and boot 196 Expected: The files are successfully created during rootfs and boot
199 time for 3 different package managers: rpm,ipk,deb and 197 time for 3 different package managers: rpm,ipk,deb and
200 for initialization managers: sysvinit and systemd. 198 for initialization managers: sysvinit and systemd.
@@ -237,7 +235,3 @@ postinst-delayed-t \
237 sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' 235 sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
238 result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand)) 236 result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand))
239 self.assertEqual(result.status, 0, 'File %s was not created at firts boot'% fileboot_name) 237 self.assertEqual(result.status, 0, 'File %s was not created at firts boot'% fileboot_name)
240
241 #Step 5
242 bitbake(' %s %s -c cleanall' % (rootfs_pkg, boot_pkg))
243 bitbake('core-image-minimal -c cleanall')