xref: /qemu/tests/functional/qemu_test/__init__.py (revision c283afbf658cdc2156250a84be433fc0bdd002ac)
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
119132fff8SDaniel P. Berrangéfrom .cmd import 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
163ea06d65SDaniel P. Berrangéfrom .decorators import skipIfMissingCommands, skipIfNotMachine, \
173ea06d65SDaniel P. Berrangé    skipFlakyTest, skipUntrustedTest, skipBigDataTest, \
183ea06d65SDaniel P. Berrangé    skipIfMissingImports
19*c283afbfSDaniel P. Berrangéfrom .archive import archive_extract
20