On 26/02/2025 15.03, Alex Bennée wrote:
I want to expand the number of tests to cover a wide range of
configurations. That starts with splitting off from the normal virt
test from which it doesn't really share much code.

Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
---
...
+class Aarch64VirtGPUMachine(QemuSystemTest):
+    KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
+    timeout = 360
+
+    def wait_for_console_pattern(self, success_message, vm=None):
+        wait_for_console_pattern(self, success_message,
+                                 failure_message='Kernel panic - not syncing',
+                                 vm=vm)

You could inherit your class from LinuxKernelTest instead, then you would get this wait_for_console_pattern() for free.

Anyway,
Reviewed-by: Thomas Huth <[email protected]>


Reply via email to