lava_wait_jobs.py: Check status "lava-test-monitor" in "lava" suite

There can be cases when a test failed due e.g. timeout is not recorded in
specific testsuite, but instead recorded as a failure of "lava-test-monitor"
testcase in the "lava" special-purpose suite.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I9f7c405219c01707647aa2b655e308ca3fe282db
diff --git a/lava_helper/lava_wait_jobs.py b/lava_helper/lava_wait_jobs.py
index f77dbad..9f14d4f 100755
--- a/lava_helper/lava_wait_jobs.py
+++ b/lava_helper/lava_wait_jobs.py
@@ -236,7 +236,7 @@
         with open(results_file, "r") as F:
             res_data = F.read()
         results = yaml.safe_load(res_data)
-        non_lava_results = [x for x in results if x['suite'] != 'lava']
+        non_lava_results = [x for x in results if x['suite'] != 'lava' or x['name'] == 'lava-test-monitor']
         info['lava_url'] = lava_id_to_url(job, user_args)
         info['artifacts_dir'] = "tf-m-ci-scripts/{}".format(info['job_dir'])
         jinja_data.append({job: [info, non_lava_results]})