From 1477b60d4ef8b653493132c2a2edf48f26426e55 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Fri, 12 Nov 2021 20:06:46 +0100 Subject: [PATCH] support/testing: test_luvi: switch to armv5 to boot with rng support enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the commit replacing moonjit by luajit [1] luvi doesn't work without rng support enabled. Switch to armv5 to use virtio-rng-pci on the qemu command line [2]. [1] 9450b53c8e06f1b5a75840b82c0f4663a5d75c45 [2] https://git.buildroot.net/buildroot/tree/support/testing/infra/emulator.py?h=2021.08.1 Signed-off-by: Romain Naour Cc: Jörg Krause Signed-off-by: Yann E. MORIN --- support/testing/tests/package/test_luvi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/testing/tests/package/test_luvi.py b/support/testing/tests/package/test_luvi.py index a85a6f4d27..eb15ad31b5 100644 --- a/support/testing/tests/package/test_luvi.py +++ b/support/testing/tests/package/test_luvi.py @@ -17,7 +17,7 @@ class TestLuvi(infra.basetest.BRTest): def login(self): cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", + self.emulator.boot(arch="armv5", kernel="builtin", options=["-initrd", cpio_file]) self.emulator.login()