提交 148689ec 编写于 作者: W Wei Liu 提交者: Jiri Denemark

tests: fix CPUID detection tests compilation failure

In 3704b900 ("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: NWei Liu <wei.liu2@citrix.com>
上级 a5059b9b
......@@ -700,7 +700,7 @@ mymain(void)
} \
} while (0)
#else
# define DO_TEST_CPUID_JSON(arch, host)
# define DO_TEST_CPUID_JSON(arch, host, json)
#endif
#define DO_TEST_CPUID(arch, host, json) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册