Commit 85c82d8c authored by Dominik Charousset's avatar Dominik Charousset

Support `if (...) CAF_MESSAGE(...)` (w/o scope)

parent e339df03
...@@ -552,8 +552,10 @@ using caf_test_case_auto_fixture = caf::test::dummy_fixture; ...@@ -552,8 +552,10 @@ using caf_test_case_auto_fixture = caf::test::dummy_fixture;
// -- Convenience macros ------------------------------------------------------- // -- Convenience macros -------------------------------------------------------
#define CAF_MESSAGE(msg) \ #define CAF_MESSAGE(msg) \
CAF_LOG_INFO(msg); \ do { \
CAF_TEST_PRINT_VERBOSE(msg) CAF_LOG_INFO(msg); \
CAF_TEST_PRINT_VERBOSE(msg); \
} while (false)
// -- CAF_CHECK* predicate family ---------------------------------------------- // -- CAF_CHECK* predicate family ----------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment