diff options
author | Alexandru Palalau <alexandrux.palalau@linux.intel.com> | 2014-03-05 10:55:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:22 +0000 |
commit | f683023b05840ab1fe19aa59b313a2be9ffb13fa (patch) | |
tree | 6bcb3e2809177098fb631f284326780d6b71e106 /meta/lib | |
parent | 79024ff811247753fdf4410e16b62c53a66634a0 (diff) | |
download | poky-f683023b05840ab1fe19aa59b313a2be9ffb13fa.tar.gz |
oe-selftest: add test for image manifest file creation
(From OE-Core rev: 1542470fa66884d0f7bf67d92916675a8a9820cc)
Signed-off-by: Alexandru Palalau <alexandrux.palalau@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/bbtests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index 01e0099644..7ca0802428 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py | |||
@@ -74,6 +74,13 @@ class BitbakeTests(oeSelfTest): | |||
74 | for f in ['pn-buildlist', 'pn-depends.dot', 'package-depends.dot', 'task-depends.dot']: | 74 | for f in ['pn-buildlist', 'pn-depends.dot', 'package-depends.dot', 'task-depends.dot']: |
75 | os.remove(f) | 75 | os.remove(f) |
76 | 76 | ||
77 | def test_image_manifest(self): | ||
78 | bitbake('core-image-minimal') | ||
79 | deploydir = get_bb_var("DEPLOY_DIR_IMAGE", target="core-image-minimal") | ||
80 | imagename = get_bb_var("IMAGE_LINK_NAME", target="core-image-minimal") | ||
81 | manifest = os.path.join(deploydir, imagename + ".manifest") | ||
82 | self.assertTrue(os.path.islink(manifest), msg="No manifest file created for image") | ||
83 | |||
77 | def test_invalid_recipe_src_uri(self): | 84 | def test_invalid_recipe_src_uri(self): |
78 | data = 'SRC_URI = "file://invalid"' | 85 | data = 'SRC_URI = "file://invalid"' |
79 | self.write_recipeinc('man', data) | 86 | self.write_recipeinc('man', data) |