From d463b3235e752f4c74aa8cc7190c060910ef333f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 13 Mar 2023 10:24:48 +0100 Subject: [PATCH] tests: Fixed building of tests --- tests/common/include/hex/test/tests.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/common/include/hex/test/tests.hpp b/tests/common/include/hex/test/tests.hpp index 8b4910031..78643b982 100644 --- a/tests/common/include/hex/test/tests.hpp +++ b/tests/common/include/hex/test/tests.hpp @@ -6,11 +6,13 @@ #include #include +#include + #include #include #include -#define TEST_SEQUENCE(...) static auto ANONYMOUS_VARIABLE(TEST_SEQUENCE) = ::hex::test::TestSequenceExecutor(__VA_ARGS__) + []() -> int +#define TEST_SEQUENCE(...) static auto WOLV_ANONYMOUS_VARIABLE(TEST_SEQUENCE) = ::hex::test::TestSequenceExecutor(__VA_ARGS__) + []() -> int #define TEST_FAIL() return EXIT_FAILURE #define TEST_SUCCESS() return EXIT_SUCCESS #define FAILING true