summaryrefslogtreecommitdiff
path: root/test/lib/hexdump.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-12 19:45:07 -0500
committerTom Rini <trini@konsulko.com>2018-12-12 19:45:07 -0500
commit277b06684ddf5231ce1e684ee2860aedacb32b3c (patch)
tree90df350acedf6dd201f2506b40fc6243d11a2d73 /test/lib/hexdump.c
parentee168783ae889cf449cee36cc1e51e108a210ed4 (diff)
parentdda9af3ad156c5b765d31a0646d01bfbb1977d9a (diff)
Merge branch '2018-12-12-master-imports'
- Various small TI platform updates - Two unit test fixes - qemu-arm updates
Diffstat (limited to 'test/lib/hexdump.c')
-rw-r--r--test/lib/hexdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/hexdump.c b/test/lib/hexdump.c
index e8b3e566e0f..567b57686a5 100644
--- a/test/lib/hexdump.c
+++ b/test/lib/hexdump.c
@@ -11,8 +11,6 @@
static int lib_test_hex_to_bin(struct unit_test_state *uts)
{
- return 0;
-
ut_asserteq(0x0, hex_to_bin('0'));
ut_asserteq(0x1, hex_to_bin('1'));
ut_asserteq(0x2, hex_to_bin('2'));
@@ -30,6 +28,8 @@ static int lib_test_hex_to_bin(struct unit_test_state *uts)
ut_asserteq(0xe, hex_to_bin('e'));
ut_asserteq(0xf, hex_to_bin('f'));
ut_asserteq(-1, hex_to_bin('g'));
+
+ return 0;
}
DM_TEST(lib_test_hex_to_bin, DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT);