]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer.py: make signature check code reusable
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 27 Jun 2017 15:33:43 +0000 (17:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jul 2017 13:38:06 +0000 (14:38 +0100)
commitecc9a1f9ceec9996aeb2c602846d51277de0b4a5
tree46598541e077aad5b2a38400357be443b336ba8b
parent501b5b7f338396a4a115355b8a78ae5b03f67d9a
yocto-compat-layer.py: make signature check code reusable

This moves the main content of test_signature into a helper
function. It can be reused by arbitrary tests that need to do
a before/after signature comparison. Long-term this might even
be useful in oeqa itself.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/compatlayer/__init__.py
scripts/lib/compatlayer/cases/common.py