提交 710990ec 编写于 作者: C Cole Robinson

tests: qemuxml2argv: Tweak TEST_CAPS_PATH

Make it an actual path and not a string prefix
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 8d09acf6
......@@ -819,7 +819,7 @@ mymain(void)
* the test cases should be forked using DO_TEST_CAPS_VER with the appropriate
* version.
*/
# define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata/caps_"
# define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata"
# define DO_TEST_CAPS_INTERNAL(_name, arch, ver, ...) \
do { \
......@@ -827,7 +827,7 @@ mymain(void)
.name = _name, \
.suffix = "." arch "-" ver, \
}; \
static const char *capsfile = TEST_CAPS_PATH ver "." arch ".xml"; \
static const char *capsfile = TEST_CAPS_PATH "/caps_" ver "." arch ".xml"; \
static bool stripmachinealiases; \
if (STREQ(ver, "latest")) { \
capsfile = virHashLookup(capslatest, arch); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册