From: Jiri Denemark Date: Mon, 27 Jan 2014 20:53:51 +0000 (+0100) Subject: tests: Add more tests for virConnectBaselineCPU X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7e4dcf3a47a4fea8534531cf0a4bee7bb85904be;p=libvirt.git tests: Add more tests for virConnectBaselineCPU https://bugzilla.redhat.com/show_bug.cgi?id=1049391 The new tests would fail in various ways without the two previous commits. --- diff --git a/tests/cputest.c b/tests/cputest.c index 247fd10554..c03538a827 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -619,7 +619,12 @@ mymain(void) DO_TEST_BASELINE("x86", "some-vendors", 0, 0); DO_TEST_BASELINE("x86", "1", 0, 0); DO_TEST_BASELINE("x86", "2", 0, 0); + DO_TEST_BASELINE("x86", "3", 0, 0); DO_TEST_BASELINE("x86", "3", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0); + DO_TEST_BASELINE("x86", "4", 0, 0); + DO_TEST_BASELINE("x86", "4", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0); + DO_TEST_BASELINE("x86", "5", 0, 0); + DO_TEST_BASELINE("x86", "5", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0); DO_TEST_BASELINE("ppc64", "incompatible-vendors", 0, -1); DO_TEST_BASELINE("ppc64", "no-vendor", 0, 0); diff --git a/tests/cputestdata/x86-baseline-3-result.xml b/tests/cputestdata/x86-baseline-3-result.xml new file mode 100644 index 0000000000..7349831c57 --- /dev/null +++ b/tests/cputestdata/x86-baseline-3-result.xml @@ -0,0 +1,3 @@ + + Westmere + diff --git a/tests/cputestdata/x86-baseline-4-expanded.xml b/tests/cputestdata/x86-baseline-4-expanded.xml new file mode 100644 index 0000000000..b5671b5d67 --- /dev/null +++ b/tests/cputestdata/x86-baseline-4-expanded.xml @@ -0,0 +1,46 @@ + + Westmere + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-baseline-4-result.xml b/tests/cputestdata/x86-baseline-4-result.xml new file mode 100644 index 0000000000..44fbc380bc --- /dev/null +++ b/tests/cputestdata/x86-baseline-4-result.xml @@ -0,0 +1,14 @@ + + Westmere + Intel + + + + + + + + + + + diff --git a/tests/cputestdata/x86-baseline-4.xml b/tests/cputestdata/x86-baseline-4.xml new file mode 100644 index 0000000000..7f5ae169b6 --- /dev/null +++ b/tests/cputestdata/x86-baseline-4.xml @@ -0,0 +1,18 @@ + + + x86_64 + Westmere + Intel + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-baseline-5-expanded.xml b/tests/cputestdata/x86-baseline-5-expanded.xml new file mode 100644 index 0000000000..2408704c85 --- /dev/null +++ b/tests/cputestdata/x86-baseline-5-expanded.xml @@ -0,0 +1,47 @@ + + SandyBridge + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-baseline-5-result.xml b/tests/cputestdata/x86-baseline-5-result.xml new file mode 100644 index 0000000000..3c2f38c9aa --- /dev/null +++ b/tests/cputestdata/x86-baseline-5-result.xml @@ -0,0 +1,10 @@ + + SandyBridge + Intel + + + + + + + diff --git a/tests/cputestdata/x86-baseline-5.xml b/tests/cputestdata/x86-baseline-5.xml new file mode 100644 index 0000000000..80cd533ca4 --- /dev/null +++ b/tests/cputestdata/x86-baseline-5.xml @@ -0,0 +1,35 @@ + + + x86_64 + Westmere + Intel + + + + + + + + + + + + + + x86_64 + Nehalem + Intel + + + + + + + + + + + + + +