]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/manifest.py: Test support for manifests
authorBenjamin Esquivel <benjamin.esquivel@linux.intel.com>
Wed, 7 Oct 2015 19:41:23 +0000 (14:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Oct 2015 21:52:22 +0000 (22:52 +0100)
commitaed5b7aef33459f1bb5fa29560920c254a5fd637
tree4871b5019195305c4a49ca2e52e019aa63c95fd5
parentf775e4cffe45edb673a414a2038c4f2b09b9b827
oeqa/selftest/manifest.py: Test support for manifests

adding support for tests to verify that manifest contents
contain entries that exist in an specified pkgdata dir

tests added:
 - manifest.VerifyManifest.test_image_manifest_entries
 - manifest.VerifyManifest.test_SDK_manifest_entries
test support written for future tests:
 -adding a setUpClass that supports other manifest tests
 -a get dir from bb var function that verifies if the dir exists
 -a ManifestEntry class defined with missing items list
 -check for the paths and fail gracefully if not there
 -debug prints for failure analysis

[YOCTO#8028]

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/manifest.py [new file with mode: 0644]