[OE-core] [PATCH v2] selftest/manifest.py: Test support for manifests

Burton, Ross ross.burton at intel.com
Thu Sep 10 09:52:22 UTC 2015


On 2 September 2015 at 21:18, Benjamin Esquivel <
benjamin.esquivel at linux.intel.com> wrote:

> adding support for tests to verify manifest collections
> (i.e. all the manifests found in a given dir) checking them
> to provide entries that exist in an specified pkgdata dir
>
> tests added:
>  -adding an SDK manifest test
>  -adding a core-image-minimal manifest test
> test support written for future tests:
>  -adding a setUpClass that supports other tests
>  -a get dir from bb var function that verifies if the dir exists
>  -an initial ManifestCollection and ManifestEntry classes defined
>  -check for the paths and fail gracefully if not there
>  -debug prints for failure analysis
>

Just ran this on the autobuilder:

FAIL: test_image_manifest_entries (oeqa.selftest.manifest.VerifyManifest)
Verifying the image manifest entries exist
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/manifest.py",
line 165, in test_image_manifest_entries
    if m_collection.errors: self.fail()
AssertionError: None

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150910/9560ca60/attachment-0002.html>


More information about the Openembedded-core mailing list