qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Bootstrap Python venv and acceptance/functional tes


From: Cleber Rosa
Subject: [Qemu-devel] [PATCH] Bootstrap Python venv and acceptance/functional tests
Date: Thu, 20 Sep 2018 11:19:54 -0400

TL;DR
=====

Allow acceptance tests to be run with `make check-acceptance`.

Details
=======

This introduces a Python virtual environment that will be setup within
the QEMU build directory, that will contain the exact environment that
tests may require.

There's one current caveat: it requires Python 3, as it's based on the
venv module.  This was based on some discussions and perception about
standardizing on Python 3, but can easily be made to accommodate Python
2 as well.

Commit summary
==============

Cleber Rosa (2):
  Bootstrap Python venv for tests
  Acceptance tests: add make rule for running them

 docs/devel/testing.rst      | 28 +++++++++++++++++++++++-----
 tests/Makefile.include      | 32 ++++++++++++++++++++++++++++++++
 tests/venv-requirements.txt |  4 ++++
 3 files changed, 59 insertions(+), 5 deletions(-)
 create mode 100644 tests/venv-requirements.txt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]