Alper Nebi Yasak ce12c47b92 patman: test_util: Handle nonexistent tests while loading tests
It's possible to request a specific test to run when trying to run a
python tool's tests. If we request a nonexistent test, the unittest
loaders generate a fake test that reports this as an error. However, we
get these fake tests even when the test exists, because test_util can
load tests from multiple places one by one and the test we want only
exists in one.

The test_util helpers currently remove these fake tests when printing
test results, but that's more of a workaround than a proper solution.
Instead, don't even try to load the missing tests.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-06-28 03:09:51 +01:00
..
2022-06-16 15:22:55 -04:00
2022-04-25 16:04:05 -04:00
2022-04-25 16:04:05 -04:00
2022-04-19 14:51:11 -04:00
2019-07-29 00:20:31 +02:00
2021-01-13 02:38:00 +01:00
2022-01-19 18:11:34 +01:00
2022-01-28 17:58:41 -05:00
2022-06-06 18:01:20 -04:00
2022-01-19 18:11:34 +01:00
2019-11-04 18:15:32 -07:00