[PATCH 4/4] tests: sysinfo: Add test data for HP moonshot aarch64 box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since the kernel does not report much data for that box the sysinfo
output is comparatively sparse.
---
 tests/sysinfodata/aarch64-moonshotcpuinfo.data   | 72 ++++++++++++++++++++++++
 tests/sysinfodata/aarch64-moonshotsysinfo.expect |  1 +
 tests/sysinfotest.c                              |  1 +
 3 files changed, 74 insertions(+)
 create mode 100644 tests/sysinfodata/aarch64-moonshotcpuinfo.data
 create mode 100644 tests/sysinfodata/aarch64-moonshotsysinfo.expect

diff --git a/tests/sysinfodata/aarch64-moonshotcpuinfo.data b/tests/sysinfodata/aarch64-moonshotcpuinfo.data
new file mode 100644
index 000000000..b694fa809
--- /dev/null
+++ b/tests/sysinfodata/aarch64-moonshotcpuinfo.data
@@ -0,0 +1,72 @@
+processor	: 0
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 1
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 2
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 3
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 4
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 5
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 6
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
+processor	: 7
+BogoMIPS	: 100.00
+Features	: fp asimd evtstrm
+CPU implementer	: 0x50
+CPU architecture: 8
+CPU variant	: 0x0
+CPU part	: 0x000
+CPU revision	: 1
+
diff --git a/tests/sysinfodata/aarch64-moonshotsysinfo.expect b/tests/sysinfodata/aarch64-moonshotsysinfo.expect
new file mode 100644
index 000000000..73ea466bc
--- /dev/null
+++ b/tests/sysinfodata/aarch64-moonshotsysinfo.expect
@@ -0,0 +1 @@
+<sysinfo type='smbios'/>
diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c
index 3dd569b73..047e87b7a 100644
--- a/tests/sysinfotest.c
+++ b/tests/sysinfotest.c
@@ -142,6 +142,7 @@ mymain(void)
     TEST("arm", virSysinfoReadARM);
     TEST("arm-rpi2", virSysinfoReadARM);
     TEST("aarch64", virSysinfoReadARM);
+    TEST("aarch64-moonshot", virSysinfoReadARM);

     return ret;
 }
-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux