mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00

The 'which' helper is simpler, not depending on the external 'which' binary, and is sufficient for test needs. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-10-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
18 lines
730 B
Python
18 lines
730 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 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
|
|
from .decorators import skipIfMissingCommands, skipIfNotMachine, \
|
|
skipFlakyTest, skipUntrustedTest, skipBigDataTest, \
|
|
skipIfMissingImports
|