From 1c8e0b4922f77c9dec591aa4ec30708cf4c55f1a Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Fri, 8 Feb 2019 11:46:38 +0000 Subject: [PATCH] exekall: compare: handle when no test ID is matching --- lisa/exekall_customize.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisa/exekall_customize.py b/lisa/exekall_customize.py index 99896ac36..2e2518249 100644 --- a/lisa/exekall_customize.py +++ b/lisa/exekall_customize.py @@ -168,6 +168,10 @@ class LISAAdaptor(AdaptorBase): alpha=alpha, ) + if not regr_list: + print('No matching test IDs have been found, use "--remove-tag board" to match across "board" tags') + return + print('testcase failure rate changes with alpha={}\n'.format(alpha)) id_len = max(len(regr.testcase_id) for regr in regr_list) -- GitLab