mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00

Put the 'which' function into shared code. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-5-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
15 lines
600 B
Python
15 lines
600 B
Python
# Test class and utilities for functional tests
|
|
#
|
|
# Copyright 2024 Red Hat, Inc.
|
|
#
|
|
# This work is licensed under the terms of the GNU GPL, version 2 or
|
|
# later. See the COPYING file in the top-level directory.
|
|
|
|
|
|
from .asset import Asset
|
|
from .config import BUILD_DIR
|
|
from .cmd import has_cmd, has_cmds, run_cmd, is_readable_executable_file, \
|
|
interrupt_interactive_console_until_pattern, wait_for_console_pattern, \
|
|
exec_command, exec_command_and_wait_for_pattern, get_qemu_img, which
|
|
from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
|
|
from .linuxkernel import LinuxKernelTest
|