mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-22 00:01:45 -05:00
unit-tests: Forward variable argument list in TEST_SUITE_DEPEND
For some plugin features, such as crypters or AEADs, we have some additional feature arguments, such as the key size.
This commit is contained in:
parent
88d90c7b4b
commit
ee9f691915
@ -36,8 +36,8 @@
|
||||
static test_configuration_t tests[] = {
|
||||
#define TEST_SUITE(x) \
|
||||
{ .suite = x, },
|
||||
#define TEST_SUITE_DEPEND(x, type, args) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
|
||||
#define TEST_SUITE_DEPEND(x, type, ...) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
|
||||
#include "tests.h"
|
||||
{ .suite = NULL, }
|
||||
};
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
static test_configuration_t tests[] = {
|
||||
#define TEST_SUITE(x) \
|
||||
{ .suite = x, },
|
||||
#define TEST_SUITE_DEPEND(x, type, args) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
|
||||
#define TEST_SUITE_DEPEND(x, type, ...) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
|
||||
#include "libcharon_tests.h"
|
||||
{ .suite = NULL, }
|
||||
};
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
static test_configuration_t tests[] = {
|
||||
#define TEST_SUITE(x) \
|
||||
{ .suite = x, },
|
||||
#define TEST_SUITE_DEPEND(x, type, args) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
|
||||
#define TEST_SUITE_DEPEND(x, type, ...) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
|
||||
#include "hydra_tests.h"
|
||||
{ .suite = NULL, }
|
||||
};
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
static test_configuration_t tests[] = {
|
||||
#define TEST_SUITE(x) \
|
||||
{ .suite = x, },
|
||||
#define TEST_SUITE_DEPEND(x, type, args) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
|
||||
#define TEST_SUITE_DEPEND(x, type, ...) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
|
||||
#include "tests.h"
|
||||
{ .suite = NULL, }
|
||||
};
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
static test_configuration_t tests[] = {
|
||||
#define TEST_SUITE(x) \
|
||||
{ .suite = x, },
|
||||
#define TEST_SUITE_DEPEND(x, type, args) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
|
||||
#define TEST_SUITE_DEPEND(x, type, ...) \
|
||||
{ .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
|
||||
#include "tls_tests.h"
|
||||
{ .suite = NULL, }
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user