]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
selftest/cases/runqemu.py: qemuboot.conf -> qemuboot.json rbt/json
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 19 Jan 2018 03:17:14 +0000 (11:17 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 5 Feb 2018 04:45:38 +0000 (12:45 +0800)
[YOCTO #12503]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/lib/oeqa/selftest/cases/runqemu.py

index 47d41f5218d31f29e0fe1bb122de456870aab5a2..cfeb22476916653426937defa3748705bfeea096 100644 (file)
@@ -117,12 +117,12 @@ SYSLINUX_TIMEOUT = "10"
 
     @OETestID(2010)
     def test_boot_qemu_boot(self):
-        """Test runqemu /path/to/image.qemuboot.conf"""
-        qemuboot_conf = "%s-%s.qemuboot.conf" % (self.recipe, self.machine)
-        qemuboot_conf = os.path.join(self.deploy_dir_image, qemuboot_conf)
-        if not os.path.exists(qemuboot_conf):
-            self.skipTest("%s not found" % qemuboot_conf)
-        cmd = "%s %s" % (self.cmd_common, qemuboot_conf)
+        """Test runqemu /path/to/image.qemuboot.json"""
+        qb_json = "%s-%s.qemuboot.json" % (self.recipe, self.machine)
+        qb_json = os.path.join(self.deploy_dir_image, qb_json)
+        if not os.path.exists(qb_json):
+            self.skipTest("%s not found" % qb_json)
+        cmd = "%s %s" % (self.cmd_common, qb_json)
         with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
             self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)