Since net_test_wget() is testing a command and is in test/cmd it should be in the 'cmd' test suite, not 'lib'.
Reported-by: Simon Glass <[email protected]> Signed-off-by: Jerome Forissier <[email protected]> --- test/cmd/wget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cmd/wget.c b/test/cmd/wget.c index fe26fee54c9..9dde699db58 100644 --- a/test/cmd/wget.c +++ b/test/cmd/wget.c @@ -19,6 +19,7 @@ #include <dm/test.h> #include <dm/device-internal.h> #include <dm/uclass-internal.h> +#include <test/cmd.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> @@ -225,4 +226,4 @@ static int net_test_wget(struct unit_test_state *uts) return 0; } -LIB_TEST(net_test_wget, UTF_CONSOLE); +CMD_TEST(net_test_wget, UTF_CONSOLE); -- 2.40.1

