Patchwork [0/1] Support tests in other layers

mail settings
Submitter Paul Eggleton
Date Aug. 25, 2013, 12:46 a.m.
Message ID <>
Download mbox
Permalink /patch/56561/
State New
Headers show


git:// paule/testimage


Paul Eggleton - Aug. 25, 2013, 12:46 a.m.
Completion of an earlier work-in-progress change by Stefan. I had
earlier suggested using a special "tests/runtime" directory in other
layers that wish to add their own tests, but when I looked into it I
figured it was actually a lot simpler if we kept the same structure as
the tests in OE-Core i.e. lib/oeqa/runtime, since sys.path is already
extended in base.bbclass to make that work for all layers; we just
needed to tweak in the oeqa/runtime directory to enable
unittest to import units from other layers in that same directory.

The following changes since commit e473e60d5572f36829068f6d3db9ce9ba9633d71:

  mkfontscale: This no longer needs a full libx11, xproto suffices (2013-08-22 18:29:50 +0100)

are available in the git repository at:

  git:// paule/testimage

Stefan Stanacar (1):
  classes/testimage: add support for finding tests in other layers

 meta/classes/testimage.bbclass    | 55 ++++++++++++++++++++++++++++++---------
 meta/lib/oeqa/runtime/ |  3 +++
 2 files changed, 46 insertions(+), 12 deletions(-)