master
py 22 lines 936 Bytes
Raw
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
9 from .asset import Asset
10 from .config import BUILD_DIR, dso_suffix
11 from .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
14 from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
15 from .linuxkernel import LinuxKernelTest
16 from .decorators import skipIfMissingCommands, skipIfNotMachine, \
17 skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \
18 skipIfMissingImports, skipIfOperatingSystem, skipUnlessOperatingSystem, \
19 skipLockedMemoryTest, skipIfMissingEnv
20 from .archive import archive_extract
21 from .uncompress import uncompress
22 from .gdb import GDB