diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-26 19:31:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:38:32 +0000 |
commit | de23b7bb2f53149c9778fde55e5b3c710c51932d (patch) | |
tree | d80ae0d662e6f13975c96de2d35e48b885b2fce0 /meta/lib/oeqa/selftest/wic.py | |
parent | 8c51ca5cd6127cb0e491734bd1605756a11b43e9 (diff) | |
download | poky-de23b7bb2f53149c9778fde55e5b3c710c51932d.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 24093d1d53..53631fa595 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -390,6 +390,7 @@ class Wic(oeSelfTest): | |||
390 | self.assertEqual(0, runCmd("wic create directdisk " | 390 | self.assertEqual(0, runCmd("wic create directdisk " |
391 | "--image-name=%s -v %s -o %s" | 391 | "--image-name=%s -v %s -o %s" |
392 | % (image, imgenvdir, self.resultdir)).status) | 392 | % (image, imgenvdir, self.resultdir)).status) |
393 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct"))) | ||
393 | 394 | ||
394 | def test_image_vars_dir_long(self): | 395 | def test_image_vars_dir_long(self): |
395 | """Test image vars directory selection --vars option""" | 396 | """Test image vars directory selection --vars option""" |
@@ -400,6 +401,7 @@ class Wic(oeSelfTest): | |||
400 | "--vars %s " | 401 | "--vars %s " |
401 | "--outdir %s" | 402 | "--outdir %s" |
402 | % (image, imgenvdir, self.resultdir)).status) | 403 | % (image, imgenvdir, self.resultdir)).status) |
404 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct"))) | ||
403 | 405 | ||
404 | @testcase(1351) | 406 | @testcase(1351) |
405 | def test_wic_image_type(self): | 407 | def test_wic_image_type(self): |