From 5a54f52520e1e50e31c0d98e19ca8b534459a988 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 6 Mar 2017 16:20:25 +0100 Subject: [PATCH] tests: sysinfo: Add test data for HP moonshot aarch64 box Since the kernel does not report much data for that box the sysinfo output is comparatively sparse. --- .../sysinfodata/aarch64-moonshotcpuinfo.data | 71 +++++++++++++++++++ .../aarch64-moonshotsysinfo.expect | 1 + tests/sysinfotest.c | 1 + 3 files changed, 73 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 0000000000..e829a821cc --- /dev/null +++ b/tests/sysinfodata/aarch64-moonshotcpuinfo.data @@ -0,0 +1,71 @@ +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 0000000000..73ea466bc3 --- /dev/null +++ b/tests/sysinfodata/aarch64-moonshotsysinfo.expect @@ -0,0 +1 @@ + diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c index 3dd569b734..047e87b7a4 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; } -- GitLab