From 213137217a60eca18e9b55817f00dfdd6eaff74a Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Thu, 18 Oct 2018 11:31:32 -0400 Subject: Bootstrap Python venv for tests A number of QEMU tests are written in Python, and may benefit from an untainted Python venv. By using make rules, tests that depend on specific Python libs can set that rule as a requirement, along with rules that require the presence or installation of specific libraries. The tests/requirements.txt is supposed to contain the Python requirements that should be added to the venv created by check-venv. Signed-off-by: Cleber Rosa Tested-by: Philippe Mathieu-Daudé Acked-by: Stefan Hajnoczi Acked-by: Wainer dos Santos Moschetta Reviewed-by: Caio Carrara Message-Id: <20181018153134.8493-2-crosa@redhat.com> Signed-off-by: Eduardo Habkost --- tests/requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/requirements.txt (limited to 'tests/requirements.txt') diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 0000000000..d39f9d1576 --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1,3 @@ +# Add Python module requirements, one per line, to be installed +# in the tests/venv Python virtual environment. For more info, +# refer to: https://pip.pypa.io/en/stable/user_guide/#id1 -- cgit v1.2.3-55-g7522