]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tests/functional/test_arm_quanta_gsj: Fix broken test
authorThomas Huth <thuth@redhat.com>
Thu, 2 Jan 2025 07:30:35 +0000 (08:30 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 2 Jan 2025 08:16:42 +0000 (09:16 +0100)
ASSET_IMAGE needs to be prefixed with "self." ... this bug
apparently went in unnoticed because the test is not run by
default.

Message-ID: <20250102073403.36328-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/test_arm_quanta_gsj.py

index 7aa5209beaf3cd275d416a909247e7d1f5757a10..7b82e2185c32a13cf6bd6cb79542e8b877599a7d 100755 (executable)
@@ -35,7 +35,7 @@ class EmcraftSf2Machine(LinuxKernelTest):
     @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout')
     def test_arm_quanta_gsj(self):
         self.set_machine('quanta-gsj')
-        image_path = self.uncompress(ASSET_IMAGE, 'obmc.mtd', format='gz')
+        image_path = self.uncompress(self.ASSET_IMAGE, format='gz')
 
         self.vm.set_console()
         drive_args = 'file=' + image_path + ',if=mtd,bus=0,unit=0'