mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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>
This commit is contained in:
parent
a5059b9b02
commit
148689ec96
@ -700,7 +700,7 @@ mymain(void)
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
#else
|
#else
|
||||||
# define DO_TEST_CPUID_JSON(arch, host)
|
# define DO_TEST_CPUID_JSON(arch, host, json)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DO_TEST_CPUID(arch, host, json) \
|
#define DO_TEST_CPUID(arch, host, json) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user