xref: /qemu/tests/functional/qemu_test/__init__.py (revision 3ea06d65be5ee65beabc479d92e964e3c9df5080)
1fa32a634SThomas Huth# Test class and utilities for functional tests
2fa32a634SThomas Huth#
3fa32a634SThomas Huth# Copyright 2024 Red Hat, Inc.
4fa32a634SThomas Huth#
5fa32a634SThomas Huth# This work is licensed under the terms of the GNU GPL, version 2 or
6fa32a634SThomas Huth# later.  See the COPYING file in the top-level directory.
7fa32a634SThomas Huth
8fa32a634SThomas Huth
99903217aSDaniel P. Berrangéfrom .asset import Asset
10fa32a634SThomas Huthfrom .config import BUILD_DIR
11fa32a634SThomas Huthfrom .cmd import has_cmd, has_cmds, run_cmd, is_readable_executable_file, \
12fa32a634SThomas Huth    interrupt_interactive_console_until_pattern, wait_for_console_pattern, \
130da341a7SDaniel P. Berrangé    exec_command, exec_command_and_wait_for_pattern, get_qemu_img, which
1499465d3fSPhilippe Mathieu-Daudéfrom .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
158720471eSThomas Huthfrom .linuxkernel import LinuxKernelTest
16*3ea06d65SDaniel P. Berrangéfrom .decorators import skipIfMissingCommands, skipIfNotMachine, \
17*3ea06d65SDaniel P. Berrangé    skipFlakyTest, skipUntrustedTest, skipBigDataTest, \
18*3ea06d65SDaniel P. Berrangé    skipIfMissingImports
19