Skip to content

Record Python version and misc test/CI fixes

Cleber Rosa qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4configure: keep track of Python versionconfigure+5 -115 replies
2/4check-venv: use recorded Python versiontests/Makefile.include+1 -21 reply
3/4Travis CI: make specified Python versions usable on jobs.travis.yml+3 -16 replies
4/4check-help: visual and content improvementstests/Makefile.include+5 -34 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlex BennéeEric BlakePhilippe Mathieu-DaudéEduardo HabkostWainer dos Santos Moschetta
1/4R-b
2/4R-b
3/4R-b
4/4R-b R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Record Python version and misc test/CI fixes

A recent experience with Travis-CI[1] showed that some tests were not running with the intended Python version. Let's add the Python version the configure output, which serves as a general debugging aid that the intended Python version was used[2][3].

Additionally, the recently introduced "check-venv" target, used by the "check-acceptance" target, verifies if the configured Python interpreter is Python 3, and does so on the Makefile itself. Since the Python version is being captured on configure, let's avoid rerunning Python on every make invocation.

Finally, a small cosmetic fix to the "make check-help" output.

[1] https://travis-ci.org/clebergnu/qemu/jobs/452033247#L983
[2] https://travis-ci.org/clebergnu/qemu/jobs/452663112#L960
[3] https://travis-ci.org/clebergnu/qemu/jobs/452663113#L956

Cleber Rosa (4):
configure: keep track of Python version
check-venv: use recorded Python version
Travis CI: make specified Python versions usable on jobs
check-help: visual and content improvements

 .travis.yml            |  4 +++-
 configure              |  6 +++++-
 tests/Makefile.include | 11 ++++++-----
 3 files changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
2.19.1