mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-04 21:47:16 +03:00
tests: qemuxml2argv: Tweak TEST_CAPS_PATH
Make it an actual path and not a string prefix Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
8d09acf66d
commit
710990ec41
@ -819,7 +819,7 @@ mymain(void)
|
|||||||
* the test cases should be forked using DO_TEST_CAPS_VER with the appropriate
|
* the test cases should be forked using DO_TEST_CAPS_VER with the appropriate
|
||||||
* version.
|
* version.
|
||||||
*/
|
*/
|
||||||
# define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata/caps_"
|
# define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata"
|
||||||
|
|
||||||
# define DO_TEST_CAPS_INTERNAL(_name, arch, ver, ...) \
|
# define DO_TEST_CAPS_INTERNAL(_name, arch, ver, ...) \
|
||||||
do { \
|
do { \
|
||||||
@ -827,7 +827,7 @@ mymain(void)
|
|||||||
.name = _name, \
|
.name = _name, \
|
||||||
.suffix = "." arch "-" ver, \
|
.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; \
|
static bool stripmachinealiases; \
|
||||||
if (STREQ(ver, "latest")) { \
|
if (STREQ(ver, "latest")) { \
|
||||||
capsfile = virHashLookup(capslatest, arch); \
|
capsfile = virHashLookup(capslatest, arch); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user