qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/cdrom-test: Add cdrom test for LoongArch virt machine
@ 2024-02-05  2:13 Bibo Mao
  2024-02-05  7:47 ` Thomas Huth
  2024-02-05 12:58 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 8+ messages in thread
From: Bibo Mao @ 2024-02-05  2:13 UTC (permalink / raw)
  To: Thomas Huth, Laurent Vivier; +Cc: Paolo Bonzini, qemu-block, qemu-devel

The cdrom test skips to execute on LoongArch system with command
"make check", this patch enables cdrom test for LoongArch virt
machine platform.

With this patch, cdrom test passes to run on LoongArch virt
machine type.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
---
 tests/qtest/cdrom-test.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qtest/cdrom-test.c b/tests/qtest/cdrom-test.c
index 0945383789..c8b97d8d9a 100644
--- a/tests/qtest/cdrom-test.c
+++ b/tests/qtest/cdrom-test.c
@@ -271,6 +271,9 @@ int main(int argc, char **argv)
             const char *virtmachine[] = { "virt", NULL };
             add_cdrom_param_tests(virtmachine);
         }
+    } else if (g_str_equal(arch, "loongarch64")) {
+        const char *virtmachine[] = { "virt", NULL };
+        add_cdrom_param_tests(virtmachine);
     } else {
         const char *nonemachine[] = { "none", NULL };
         add_cdrom_param_tests(nonemachine);
-- 
2.39.3



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-17  3:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05  2:13 [PATCH] tests/cdrom-test: Add cdrom test for LoongArch virt machine Bibo Mao
2024-02-05  7:47 ` Thomas Huth
2024-02-05  8:13   ` maobibo
2024-02-06  2:32   ` maobibo
2024-02-05 12:58 ` Philippe Mathieu-Daudé
2024-02-06  2:29   ` maobibo
2024-02-06  9:20     ` Thomas Huth
2024-02-17  3:51       ` maobibo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).