aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/main.py
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-04-02 20:06:05 +0300
committerSimon Glass <sjg@chromium.org>2022-06-28 03:09:51 +0100
commitce12c47b92152e9457d3daa3ddbf53c1cc3de0bb (patch)
tree6e39ad092686a0eebaf8cd804675483f9125592e /tools/buildman/main.py
parent6474aaa1d1de0fe246707ff05816a32776d48fa8 (diff)
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>
Diffstat (limited to 'tools/buildman/main.py')
0 files changed, 0 insertions, 0 deletions