xref: /qemu/tests/functional/qemu_test/__init__.py (revision 4ae633b012210452b68dc20238fe4edd41d2635b)
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
11c5be9dd3SDaniel P. Berrangéfrom .cmd import 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, \
17*4ae633b0SThomas Huth    skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \
183ea06d65SDaniel P. Berrangé    skipIfMissingImports
19c283afbfSDaniel P. Berrangéfrom .archive import archive_extract
20dd66e65fSDaniel P. Berrangéfrom .uncompress import uncompress
21