summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2020-10-27 19:55:39 -0400
committerTom Rini <[email protected]>2020-10-30 10:56:11 -0400
commit89723b94943663407f1c65cbff1f652f01a91311 (patch)
treed567ac252334fb919927abe25e2697e202379722 /include
parent3e40976aba6fa8ef798f11b45448be2504bd9b89 (diff)
test: Add a test for log filter-*
This exercises a few success and failure modes of the log filter-* commands. log filter-list is not tested because it's purely informational. I don't think there's a good way to test it except by testing if the output of the command exactly matches a sample run. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/test/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/test/log.h b/include/test/log.h
index 772e1978062..e9028914500 100644
--- a/include/test/log.h
+++ b/include/test/log.h
@@ -14,5 +14,6 @@
/* 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__ */