[OE-core] [PATCH 00/10] Allow to install packages in the DUT during runtime testing

mariano.lopez at linux.intel.com mariano.lopez at linux.intel.com
Tue May 24 12:44:09 UTC 2016


From: Mariano Lopez <mariano.lopez at linux.intel.com>

This series enable the functionality to install packages in the DUT
during runtime testing. Such packages must had been build previously
by bitbake and the packages are specified using a JSON file. This
functionality works with testimage and with testexport.

A documentation draft has been submitted in bug 9672 to be added to
the Reference Manual.

This address several bugs:
  - 7850 (not solved completely)
  - 8478
  - 8694
  - 8536

The following changes since commit c7e614c438706fb3ed7520b4990ebb3973366942:

  useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib mariano/bug7850v2
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug7850v2

Mariano Lopez (10):
  testexport.bbclass: Stop exporting test context
  oetest.py: Move getTests() outside loadTests() method
  oeqa/utils/package_manager.py: Add get_package_manager()
  oetest.py: Add json file support to specify packages needed in runtime
    tests
  oetest.py: Add extract_packages() to RuntimeTestContext class
  oetest.py: Add support to copy unextracted packages for runtime
    testing
  lib/oe/package_manager.py: Add pkgpath to dict returned by
    package_info
  oetest.py: Add install/uninstall functionality for DUTs
  cpio: Add native variant
  testimage.bbclass: Make dependency of cpio when using RPMs

 meta/classes/testexport.bbclass        |  33 +++--
 meta/classes/testimage.bbclass         |  47 ++++++-
 meta/lib/oe/package_manager.py         |  41 +++---
 meta/lib/oeqa/oetest.py                | 239 ++++++++++++++++++++++++++++++---
 meta/lib/oeqa/utils/package_manager.py |  29 ++++
 meta/recipes-extended/cpio/cpio_v2.inc |   2 +
 6 files changed, 347 insertions(+), 44 deletions(-)
 create mode 100644 meta/lib/oeqa/utils/package_manager.py

-- 
2.6.6




More information about the Openembedded-core mailing list