mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
tests: Add DO_TEST_CAPS_ARCH_VER_FULL()
It mirrors the existing DO_TEST_CAPS_ARCH_LATEST_FULL(), and is now used to implement DO_TEST_CAPS_ARCH_VER(). Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a57d989430
commit
daf17438a8
@ -715,11 +715,14 @@ mymain(void)
|
||||
# define DO_TEST_CAPS_ARCH_LATEST_FULL(name, arch, ...) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, "latest", __VA_ARGS__)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_VER_FULL(name, arch, ver, ...) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, ver, __VA_ARGS__)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_LATEST(name, arch) \
|
||||
DO_TEST_CAPS_ARCH_LATEST_FULL(name, arch, ARG_END)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_VER(name, arch, ver) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, ver, ARG_END)
|
||||
DO_TEST_CAPS_ARCH_VER_FULL(name, arch, ver, ARG_END)
|
||||
|
||||
# define DO_TEST_CAPS_LATEST(name) \
|
||||
DO_TEST_CAPS_ARCH_LATEST(name, "x86_64")
|
||||
|
@ -216,11 +216,14 @@ mymain(void)
|
||||
# define DO_TEST_CAPS_ARCH_LATEST_FULL(name, arch, ...) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, "latest", __VA_ARGS__)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_VER_FULL(name, arch, ver, ...) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, ver, __VA_ARGS__)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_LATEST(name, arch) \
|
||||
DO_TEST_CAPS_ARCH_LATEST_FULL(name, arch, ARG_END)
|
||||
|
||||
# define DO_TEST_CAPS_ARCH_VER(name, arch, ver) \
|
||||
DO_TEST_CAPS_INTERNAL(name, arch, ver, ARG_END)
|
||||
DO_TEST_CAPS_ARCH_VER_FULL(name, arch, ver, ARG_END)
|
||||
|
||||
# define DO_TEST_CAPS_LATEST(name) \
|
||||
DO_TEST_CAPS_ARCH_LATEST(name, "x86_64")
|
||||
|
Loading…
Reference in New Issue
Block a user