tests/functional/test_arm_quanta_gsj: Fix broken test
PATCH 1/1 tests/functional/test_arm_quanta_gsj: Fix broken test
ASSET_IMAGE needs to be prefixed with "self." ... this bug apparently went in unnoticed because the test is not run by default.
Signed-off-by Thomas Huth <[email protected]>
--- tests/functional/test_arm_quanta_gsj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/functional/test_arm_quanta_gsj.py +1 -1
@@ -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'
Signature · 1 line
2.47.1
Quoted 8 lines · Thomas Huth
ASSET_IMAGEneeds to be prefixed with "self." ... this bug apparently went in unnoticed because the test is not run by default.Signed-off-by Thomas Huth <[email protected]>--- tests/functional/test_arm_quanta_gsj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>