]> xenbits.xensource.com Git - libvirt.git/commit
tests: fix CPUID detection tests compilation failure
authorWei Liu <wei.liu2@citrix.com>
Mon, 13 Jun 2016 09:11:41 +0000 (10:11 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 13 Jun 2016 10:19:53 +0000 (12:19 +0200)
commit148689ec967a2c666e3c73b59f83bc71686e8799
tree2f44d4a0ba75ae91365b7edebc5b8d1faea312cb
parenta5059b9b0200be2b32b1abab0eac68e4bf2476f7
tests: fix CPUID detection tests compilation failure

In 3704b9003 ("tests: Add CPU detection tests"), a macro called
DO_TEST_CPUID_JSON is added. But it took only two arguments when QEMU
or YAJL is not set.

Fix it by adding a third argument. Shouldn't have any effect because
that macro compiles to nothing.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tests/cputest.c