diff options
Diffstat (limited to 'tests/framework/Macros.h')
-rw-r--r-- | tests/framework/Macros.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/framework/Macros.h b/tests/framework/Macros.h index deca1ef51a..591b80e9d8 100644 --- a/tests/framework/Macros.h +++ b/tests/framework/Macros.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -49,8 +49,8 @@ #define CONCAT(ARG0, ARG1) ARG0##ARG1 -#define VARIADIC_SIZE_IMPL(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, size, ...) size -#define VARIADIC_SIZE(...) VARIADIC_SIZE_IMPL(__VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) +#define VARIADIC_SIZE_IMPL(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, size, ...) size +#define VARIADIC_SIZE(...) VARIADIC_SIZE_IMPL(__VA_ARGS__, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) #define JOIN_PARAM1(OP, param) OP(0, param) #define JOIN_PARAM2(OP, param, ...) \ @@ -80,6 +80,9 @@ #define JOIN_PARAM10(OP, param, ...) \ OP(9, param) \ , JOIN_PARAM9(OP, __VA_ARGS__) +#define JOIN_PARAM11(OP, param, ...) \ + OP(10, param) \ + , JOIN_PARAM10(OP, __VA_ARGS__) #define JOIN_PARAM(OP, NUM, ...) \ CONCAT(JOIN_PARAM, NUM) \ (OP, __VA_ARGS__) @@ -264,4 +267,4 @@ // // TEST CASE MACROS END // -#endif /* ARM_COMPUTE_TEST_FRAMEWORK_MACROS */ +#endif /* ARM_COMPUTE_TEST_FRAMEWORK_MACROS */
\ No newline at end of file |