commit | 79c84de4689b1c22be3ccac8914307daa38b0bd8 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Oct 15 21:46:04 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 31 07:22:53 2019 -0400 |
tree | b93d59e1b73e1048d9b646b00ea6ced2bea7aede | |
parent | 02e8a8241bb5fff315f3e721992220428f288b6d [diff] [blame] |
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>
diff --git a/test/lib/Makefile b/test/lib/Makefile index 308c617..b13aaca 100644 --- a/test/lib/Makefile +++ b/test/lib/Makefile
@@ -6,3 +6,4 @@ obj-y += hexdump.o obj-y += lmb.o obj-y += string.o +obj-$(CONFIG_ERRNO_STR) += test_errno_str.o