|
| From: | Thomas Huth |
| Subject: | Re: [PATCH v2 2/9] tests/qtest: Introduce qtest_init_with_env |
| Date: | Wed, 11 Oct 2023 16:56:06 +0200 |
| User-agent: | Mozilla Thunderbird |
On 06/10/2023 14.39, Fabiano Rosas wrote:
Add a version of qtest_init() that takes an environment variable containing the path of the QEMU binary. This allows tests to use more than one QEMU binary. If no variable is provided or the environment variable does not exist, that is not an error. Fallback to using QTEST_QEMU_BINARY. Signed-off-by: Fabiano Rosas <farosas@suse.de> --- tests/qtest/libqtest.c | 26 +++++++++++++++++++------- tests/qtest/libqtest.h | 13 +++++++++++++ 2 files changed, 32 insertions(+), 7 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
| [Prev in Thread] | Current Thread | [Next in Thread] |