xref: /qemu/tests/functional/qemu_test/__init__.py (revision 70ce076fa6dff60585c229a4b641b13e64bf03cf)
1# Test class and utilities for functional tests
2#
3# Copyright 2024 Red Hat, Inc.
4#
5# This work is licensed under the terms of the GNU GPL, version 2 or
6# later.  See the COPYING file in the top-level directory.
7
8
9from .asset import Asset
10from .config import BUILD_DIR
11from .cmd import is_readable_executable_file, \
12    interrupt_interactive_console_until_pattern, wait_for_console_pattern, \
13    exec_command, exec_command_and_wait_for_pattern, get_qemu_img, which
14from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
15from .linuxkernel import LinuxKernelTest
16from .decorators import skipIfMissingCommands, skipIfNotMachine, \
17    skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \
18    skipIfMissingImports
19from .archive import archive_extract
20from .uncompress import uncompress
21