test: Add a macros for finding tests in linker_lists
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:35:10 +0000 (17:35 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:30 +0000 (09:57 -0500)
commita7a98755b888254cbc1857c567ce898a8e105e0f
tree0edc3980d46d0e17f31661064c58b72873d2fa67
parent5c1cf4d2dab12a8f5b4a49dc2f06f582db69c1ef
test: Add a macros for finding tests in linker_lists

At present we use the linker list directly. This is not very friendly, so
add a helpful macro instead. This will also allow us to change the naming
later without updating this code.

Signed-off-by: Simon Glass <sjg@chromium.org>
14 files changed:
include/test/test.h
test/bloblist.c
test/bootm.c
test/cmd/mem.c
test/cmd/setexpr.c
test/compression.c
test/dm/test-dm.c
test/env/cmd_ut_env.c
test/lib/cmd_ut_lib.c
test/log/log_ut.c
test/optee/cmd_ut_optee.c
test/overlay/cmd_ut_overlay.c
test/str_ut.c
test/unicode_ut.c