commit | f026611c8127e1852ac58e523896e10286206641 | [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 | 18ea88c2894c314d94b89ba2167d82747c1de30f [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