summaryrefslogtreecommitdiff
path: root/include/test/log.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-10-30 14:17:23 -0400
committerTom Rini <trini@konsulko.com>2020-10-30 14:17:23 -0400
commit7820052fdeb17f159037879fc1b51b0fd704c180 (patch)
tree67d7bdff892fae5f81ead9fa0487e406b2ca55e9 /include/test/log.h
parent8d7f3fcb4a20bade1a940cea3e3b6983587d0fc9 (diff)
parent8ba0f89abe6f60802da7ff5f630f16a9fbc27df2 (diff)
Merge branch '2020-10-30-misc-changes'
- Additional log improvements - SPI flash environment improvements
Diffstat (limited to 'include/test/log.h')
-rw-r--r--include/test/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/test/log.h b/include/test/log.h
index c661cde75a3..e9028914500 100644
--- a/include/test/log.h
+++ b/include/test/log.h
@@ -10,7 +10,10 @@
#include <test/test.h>
+#define LOGF_TEST (BIT(LOGF_FUNC) | BIT(LOGF_MSG))
+
/* Declare a new logging test */
#define LOG_TEST(_name) UNIT_TEST(_name, 0, log_test)
+#define LOG_TEST_FLAGS(_name, _flags) UNIT_TEST(_name, _flags, log_test)
#endif /* __TEST_LOG_H__ */