tests/acceptance: Add boot vmlinux test
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tests/acceptance: Add PVH boot testtests/ | +48 | 5 replies | |
| 2/2 | .travis.yml: Add kernel build deps for acceptance tests.travis.yml | +2 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Willian Rampazzo |
|---|---|
| 1/2 | T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] tests/acceptance: Add boot vmlinux test
This series add a new acceptance test: boot an uncompressed Linux kernel built with CONFIG_PVH, so checking the PVH capability introduced in QEMU 4.0 works.
The test implementation depends on [1] which is likely released on next Avocado. So that will need a version 2 of this series to bump Avocado version.
Also I want to use this as an example of a scenario that test assets could be better managed. As you see on patch 01 the kernel is built at test time on localhost. While Avocado provides an API to easily fetch and build it, the whole process takes reasonable time - besides the fact that localhost must have all build dependencies installed. How could it be done better?
Nonetheless I argue in favor of merging this as is, and gradually implement corrections to improve the tests assets management. Also if eventually the test is proven to unacceptable slow down the Travis CI then I can add a guard to skip it.
[1] https://github.com/avocado-framework/avocado/pull/3389
Wainer dos Santos Moschetta (2):
tests/acceptance: Add PVH boot test .travis.yml: Add kernel build deps for acceptance tests
.travis.yml | 2 ++ tests/acceptance/pvh.py | 48 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 tests/acceptance/pvh.py
Signature · 1 line
2.21.0