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)
- unify the kernel file naming scheme used throughout testimage(qemu use
bzImage-qemux86.bin and the others use just bzImage for example).
- 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.
*** BLURB HERE ***
Corneliu Stoicescu (7):
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'
controllers/masterimage.py: Make testimage kernel naming pattern
universal
scripts/test-remote-image: Add script for running runtime tests on
remotely built images
meta/lib/oeqa/controllers/masterimage.py | 11 +-
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, 370 insertions(+), 7 deletions(-)
create mode 100755 scripts/test-remote-image
--
1.8.3.2
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core