[OE-core] [PATCH 0/6] YB #6375 #6254
Corneliu Stoicescu
corneliux.stoicescu at intel.com
Fri Jun 6 18:06:14 UTC 2014
This series of patches affects the automated runtime tests and introduces the following changes/features:
YB #6375: Add support for more rootfs compression formats
- The target controller dynamically determines what IMAGE_FSTYPES to use based on the value of supported_image_fstypes that each target controller defines or inherits. This is needed for:
* givint the targer controllers the possibility to choose an image fstype that is actually built instead of relying on a hard-coded value
* enable external scripts to predict the name of the rootfs file.
- Added bzip2 to the core-image-testmaster that decompresses the test roofs files. This is needed ATM for BSPs like beaglebone and edgeruter.
YB #6254: Set up automated testing of autobuilder images on real hardware
We need a script that fetches images from a remote http server(for now) and uses them to conduct runtime tests. For this we needed:
- to be able to import and use the testargetloader.py module to find the target controller beying used
- create and access classmethods from the target controllers that would give information about the images needed for download (like rootfs type and extra files)
- a script that could use the above, run the runtime tests and return the results
NOTE: This script relies on the merge of "[PATCH] oeqa/utils/commands.py: add support for postconfig option" allready on the mailing list.
Corneliu Stoicescu (6):
targetcontrol.py: make possible dynamical determination of rootfs type
masterimage.py: enable dynamical determination of rootfs type
core-image-testmaster.bb: add bzip2 to image
targetcontrol.py: Add a classmethod to get extra files needed by the
target controllers
oeqa/controllers/testtargetloader.py: add 'import os'
scripts/test-remote-image: Add script for running runtime tests on
remotely built images
meta/lib/oeqa/controllers/masterimage.py | 9 +-
meta/lib/oeqa/controllers/testtargetloader.py | 1 +
meta/lib/oeqa/targetcontrol.py | 23 +-
.../images/core-image-testmaster.bb | 2 +-
scripts/test-remote-image | 340 +++++++++++++++++++++
5 files changed, 369 insertions(+), 6 deletions(-)
create mode 100755 scripts/test-remote-image
--
1.8.3.2
More information about the Openembedded-core
mailing list