[PATCH 0/2] Add unit tests for internal CPU APIs

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

 



*** BLURB HERE ***

Jiri Denemark (2):
  cpu: Add support for overriding path to CPU map XML file
  tests: Add unit tests for internal CPU APIs

 src/cpu/cpu_map.c                                  |   21 +-
 src/cpu/cpu_map.h                                  |    3 +
 src/libvirt_private.syms                           |    1 +
 tests/Makefile.am                                  |   12 +-
 tests/cputest.c                                    |  610 ++++++++++++++++++++
 tests/cputestdata/x86-baseline-1-result.xml        |    5 +
 tests/cputestdata/x86-baseline-1.xml               |   20 +
 tests/cputestdata/x86-baseline-2-result.xml        |    4 +
 tests/cputestdata/x86-baseline-2.xml               |   22 +
 .../x86-baseline-incompatible-vendors.xml          |   14 +
 .../cputestdata/x86-baseline-no-vendor-result.xml  |    5 +
 tests/cputestdata/x86-baseline-no-vendor.xml       |   12 +
 .../x86-baseline-some-vendors-result.xml           |    3 +
 tests/cputestdata/x86-baseline-some-vendors.xml    |   13 +
 tests/cputestdata/x86-bogus-feature.xml            |    4 +
 tests/cputestdata/x86-bogus-model.xml              |    3 +
 tests/cputestdata/x86-bogus-vendor.xml             |    4 +
 tests/cputestdata/x86-exact-disable-extra.xml      |    4 +
 tests/cputestdata/x86-exact-disable.xml            |    4 +
 tests/cputestdata/x86-exact-disable2.xml           |    5 +
 tests/cputestdata/x86-exact-forbid-extra.xml       |    4 +
 tests/cputestdata/x86-exact-forbid.xml             |    4 +
 tests/cputestdata/x86-exact-force.xml              |    4 +
 tests/cputestdata/x86-exact-require-extra.xml      |    4 +
 tests/cputestdata/x86-exact-require.xml            |    4 +
 tests/cputestdata/x86-exact.xml                    |    3 +
 tests/cputestdata/x86-guest.xml                    |   18 +
 .../cputestdata/x86-host+guest,model486-result.xml |   37 ++
 .../x86-host+guest,models,Penryn-result.xml        |   13 +
 .../x86-host+guest,models,qemu64-result.xml        |   14 +
 tests/cputestdata/x86-host+guest,models-result.xml |   13 +
 tests/cputestdata/x86-host+guest-result.xml        |   11 +
 tests/cputestdata/x86-host+guest.xml               |   17 +
 tests/cputestdata/x86-host+min.xml                 |   17 +
 .../cputestdata/x86-host+nehalem-force-result.xml  |    4 +
 tests/cputestdata/x86-host+pentium3.xml            |   27 +
 .../x86-host+strict-force-extra-result.xml         |   19 +
 tests/cputestdata/x86-host-amd-fake.xml            |   20 +
 tests/cputestdata/x86-host-amd.xml                 |   18 +
 .../x86-host-better+pentium3,core2duo-result.xml   |   21 +
 .../x86-host-better+pentium3,pentium3-result.xml   |   30 +
 .../x86-host-better+pentium3-result.xml            |   18 +
 tests/cputestdata/x86-host-better.xml              |   20 +
 tests/cputestdata/x86-host-incomp-arch.xml         |    6 +
 tests/cputestdata/x86-host-no-vendor.xml           |   19 +
 tests/cputestdata/x86-host-worse+guest-result.xml  |    9 +
 tests/cputestdata/x86-host-worse.xml               |    6 +
 tests/cputestdata/x86-host.xml                     |   20 +
 tests/cputestdata/x86-min.xml                      |    3 +
 tests/cputestdata/x86-nehalem-force.xml            |    6 +
 tests/cputestdata/x86-pentium3-amd.xml             |    4 +
 tests/cputestdata/x86-pentium3.xml                 |    3 +
 tests/cputestdata/x86-strict-disable.xml           |   18 +
 tests/cputestdata/x86-strict-force-extra.xml       |   18 +
 tests/cputestdata/x86-strict-full.xml              |   17 +
 tests/cputestdata/x86-strict.xml                   |    3 +
 56 files changed, 1238 insertions(+), 3 deletions(-)
 create mode 100644 tests/cputest.c
 create mode 100644 tests/cputestdata/x86-baseline-1-result.xml
 create mode 100644 tests/cputestdata/x86-baseline-1.xml
 create mode 100644 tests/cputestdata/x86-baseline-2-result.xml
 create mode 100644 tests/cputestdata/x86-baseline-2.xml
 create mode 100644 tests/cputestdata/x86-baseline-incompatible-vendors.xml
 create mode 100644 tests/cputestdata/x86-baseline-no-vendor-result.xml
 create mode 100644 tests/cputestdata/x86-baseline-no-vendor.xml
 create mode 100644 tests/cputestdata/x86-baseline-some-vendors-result.xml
 create mode 100644 tests/cputestdata/x86-baseline-some-vendors.xml
 create mode 100644 tests/cputestdata/x86-bogus-feature.xml
 create mode 100644 tests/cputestdata/x86-bogus-model.xml
 create mode 100644 tests/cputestdata/x86-bogus-vendor.xml
 create mode 100644 tests/cputestdata/x86-exact-disable-extra.xml
 create mode 100644 tests/cputestdata/x86-exact-disable.xml
 create mode 100644 tests/cputestdata/x86-exact-disable2.xml
 create mode 100644 tests/cputestdata/x86-exact-forbid-extra.xml
 create mode 100644 tests/cputestdata/x86-exact-forbid.xml
 create mode 100644 tests/cputestdata/x86-exact-force.xml
 create mode 100644 tests/cputestdata/x86-exact-require-extra.xml
 create mode 100644 tests/cputestdata/x86-exact-require.xml
 create mode 100644 tests/cputestdata/x86-exact.xml
 create mode 100644 tests/cputestdata/x86-guest.xml
 create mode 100644 tests/cputestdata/x86-host+guest,model486-result.xml
 create mode 100644 tests/cputestdata/x86-host+guest,models,Penryn-result.xml
 create mode 100644 tests/cputestdata/x86-host+guest,models,qemu64-result.xml
 create mode 100644 tests/cputestdata/x86-host+guest,models-result.xml
 create mode 100644 tests/cputestdata/x86-host+guest-result.xml
 create mode 100644 tests/cputestdata/x86-host+guest.xml
 create mode 100644 tests/cputestdata/x86-host+min.xml
 create mode 100644 tests/cputestdata/x86-host+nehalem-force-result.xml
 create mode 100644 tests/cputestdata/x86-host+pentium3.xml
 create mode 100644 tests/cputestdata/x86-host+strict-force-extra-result.xml
 create mode 100644 tests/cputestdata/x86-host-amd-fake.xml
 create mode 100644 tests/cputestdata/x86-host-amd.xml
 create mode 100644 tests/cputestdata/x86-host-better+pentium3,core2duo-result.xml
 create mode 100644 tests/cputestdata/x86-host-better+pentium3,pentium3-result.xml
 create mode 100644 tests/cputestdata/x86-host-better+pentium3-result.xml
 create mode 100644 tests/cputestdata/x86-host-better.xml
 create mode 100644 tests/cputestdata/x86-host-incomp-arch.xml
 create mode 100644 tests/cputestdata/x86-host-no-vendor.xml
 create mode 100644 tests/cputestdata/x86-host-worse+guest-result.xml
 create mode 100644 tests/cputestdata/x86-host-worse.xml
 create mode 100644 tests/cputestdata/x86-host.xml
 create mode 100644 tests/cputestdata/x86-min.xml
 create mode 100644 tests/cputestdata/x86-nehalem-force.xml
 create mode 100644 tests/cputestdata/x86-pentium3-amd.xml
 create mode 100644 tests/cputestdata/x86-pentium3.xml
 create mode 100644 tests/cputestdata/x86-strict-disable.xml
 create mode 100644 tests/cputestdata/x86-strict-force-extra.xml
 create mode 100644 tests/cputestdata/x86-strict-full.xml
 create mode 100644 tests/cputestdata/x86-strict.xml

-- 
1.7.3.2

--
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]