]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: Prepare for subcore tests
authorShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Mon, 27 Jul 2015 08:08:29 +0000 (10:08 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 3 Aug 2015 12:38:46 +0000 (08:38 -0400)
commit3020f550cad1f928f6e98308453d00cd68fa0d86
tree74f7a1a407b8dfceb7fbd5022da992d803c139af
parent014208c4d028d2a632cdfe89d361fca8811899b6
tests: Prepare for subcore tests

The nodeGetThreadsPerSubcore() function is mocked to return 8 for
ppc64 tests, which corresponds to the default subcore mode.

Update the expected output for the deconfigured-cpus nodeinfo
test to account for this change.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
tests/Makefile.am
tests/nodeinfodata/linux-ppc64-deconf-cpus.expected
tests/nodeinfomock.c [new file with mode: 0644]
tests/nodeinfotest.c