mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
selftest: check results in test_image_vars_dir*
Tested that result images are produced in test_image_vars_dir_long and test_image_vars_dir_short test cases. (From OE-Core rev: 9ed399b99e40ec9ec76df1fbdedfb8104a463acc) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8c51ca5cd6
commit
de23b7bb2f
@@ -390,6 +390,7 @@ class Wic(oeSelfTest):
|
|||||||
self.assertEqual(0, runCmd("wic create directdisk "
|
self.assertEqual(0, runCmd("wic create directdisk "
|
||||||
"--image-name=%s -v %s -o %s"
|
"--image-name=%s -v %s -o %s"
|
||||||
% (image, imgenvdir, self.resultdir)).status)
|
% (image, imgenvdir, self.resultdir)).status)
|
||||||
|
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct")))
|
||||||
|
|
||||||
def test_image_vars_dir_long(self):
|
def test_image_vars_dir_long(self):
|
||||||
"""Test image vars directory selection --vars option"""
|
"""Test image vars directory selection --vars option"""
|
||||||
@@ -400,6 +401,7 @@ class Wic(oeSelfTest):
|
|||||||
"--vars %s "
|
"--vars %s "
|
||||||
"--outdir %s"
|
"--outdir %s"
|
||||||
% (image, imgenvdir, self.resultdir)).status)
|
% (image, imgenvdir, self.resultdir)).status)
|
||||||
|
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct")))
|
||||||
|
|
||||||
@testcase(1351)
|
@testcase(1351)
|
||||||
def test_wic_image_type(self):
|
def test_wic_image_type(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user