[yocto-ab] Fwd: [OE-core] [PATCH 0/5] [RFC] yocto-compat-layer: various enhancements + bitbake-diffsigs support

Philip Balister philip at balister.org
Mon Apr 10 08:13:22 PDT 2017


Richard has talked about this at AB meetings, this is the start of a
layer we can use to test BSP layers for Yocto Project compatibility
testing. If you have BSP layers and are submitting them for the
Compatible badge, you should make sure your technical people are aware
of this work.

Philip


-------- Forwarded Message --------
Subject: [OE-core] [PATCH 0/5] [RFC] yocto-compat-layer: various
enhancements + bitbake-diffsigs support
Date: Fri,  7 Apr 2017 18:38:15 +0200
From: Patrick Ohly <patrick.ohly at intel.com>
To: openembedded-core at lists.openembedded.org
CC: paul.eggleton at linux.intel.com

I started applying yocto-compat-layer to some real BSP layers and ran
into some usability issues with the tool.

I also didn't want to do the root cause analysis manually, so I
automated the dependency analysis and the running of
bitbake-diffsigs.

This patch series is based on Mark's "yocto-compat-layer.py updates"
series. The last commit depends on Paul's "bitbake-diffsigs: add an
option to find and compare specific signatures" patch from
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=paule/sigstuff&id=5bb69edfb4bbaa7373061daeb4f233a7e2f43a43

Regarding the BSP example that I ended up using: it actually was one
of the better BSP layers and only had one problem in a "bitbake world"
build instead of several as in other BSP layers. Nevertheless I
obscured the name to protect the (not so) guilty in the commit
messages ;-}

The two changes that show up in test_signatures look harmless at first
glance, but probably would need to be done differently to avoid a
false positive when doing the signature check.

V2: - use self.fail() instead of self.assertTrue(False, ...)
    - test_machine_signatures check (work in progress)

Patrick Ohly (5):
  yocto-compat-layer: fix also other command invocations
  yocto-compat-layer: limit report of signature changes
  yocto-compat-layer: include bitbake-diffsigs output
  yocto-compat-layer: also determine tune flags for each task
  yocto-compat-layer: test signature differences when setting MACHINE

 scripts/lib/compatlayer/__init__.py     | 71 ++++++++++++++++++---
 scripts/lib/compatlayer/cases/bsp.py    | 54 +++++++++++++++-
 scripts/lib/compatlayer/cases/common.py | 89 ++++++++++++++++----------
 scripts/yocto-compat-layer.py           | 22 +++++-
 4 files changed, 189 insertions(+), 47 deletions(-)

base-commit: 719f6ff68135dc2ad143c8572c8321974f6a3357
-- 
git-series 0.9.1
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core at lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the yocto-ab mailing list