summaryrefslogtreecommitdiff
path: root/test/lib/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-10-15 21:46:04 +0200
committerTom Rini <trini@konsulko.com>2019-10-31 07:22:53 -0400
commit79c84de4689b1c22be3ccac8914307daa38b0bd8 (patch)
treeb93d59e1b73e1048d9b646b00ea6ced2bea7aede /test/lib/Makefile
parent02e8a8241bb5fff315f3e721992220428f288b6d (diff)
downloadu-boot-79c84de4689b1c22be3ccac8914307daa38b0bd8.tar.gz
test: provide test for errno_str()
Provide a unit test for errno_str(). Test that known and unknown error numbers are handled correctly. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/lib/Makefile')
-rw-r--r--test/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/Makefile b/test/lib/Makefile
index 308c61708e..b13aaca7ce 100644
--- a/test/lib/Makefile
+++ b/test/lib/Makefile
@@ -6,3 +6,4 @@ obj-y += cmd_ut_lib.o
obj-y += hexdump.o
obj-y += lmb.o
obj-y += string.o
+obj-$(CONFIG_ERRNO_STR) += test_errno_str.o