[PATCH v7 3/4] app/test: add tests to find devices
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 2 16:22:34 CEST 2025
On Wed, 12 Feb 2025 18:38:34 +0200
Shani Peretz <shperetz at nvidia.com> wrote:
> @@ -317,6 +431,12 @@ test_devargs(void)
> printf("== test devargs parsing invalid case ==\n");
> if (test_invalid_devargs_parsing() < 0)
> return -1;
> + printf("== test find device valid case ==\n");
> + if (test_valid_cmp_dev_name() < 0)
> + return -1;
> + printf("== test find device invalid case ==\n");
> + if (test_invalid_cmp_dev_name() < 0)
> + return -1;
>
The tests should be converted to use unit_test_suit_runnner() API.
But that can be done as a follow on patch.
More information about the dev
mailing list