lava_wait_jobs.py: Produce coverage report

If coverage option is enabled:

1. Download ELF artifacts from tf-m-build-config subjob.
2. Run report preparation tools from qa-tools project:
intermediate_layer.py, generate_info_file.py, and then
lcov's genhtml.

Besides the produced report, the ELF files and qa-tools'
config/intermediate files are also included in build
artifacts, to allow reproducing and debugging results.

Implementation-wise, code coverage report related code is added to
module "codecov_helper", to separate it from the LAVA code
per se.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I9152674fe715e1d8b488f74cd2da2cb745010c1f
diff --git a/lava_helper/lava_wait_jobs.py b/lava_helper/lava_wait_jobs.py
index 262eec2..9e1532b 100755
--- a/lava_helper/lava_wait_jobs.py
+++ b/lava_helper/lava_wait_jobs.py
@@ -26,6 +26,8 @@
 from lava_helper_configs import *
 from lava_helper import test_lava_dispatch_credentials
 from lava_submit_jobs import *
+import codecov_helper
+
 
 try:
     from tfm_ci_pylib.utils import save_json, load_json, sort_dict,\
@@ -83,6 +85,7 @@
     test_report(finished_jobs, user_args)
     failure_report(finished_jobs, user_args)
     csv_report(finished_jobs)
+    codecov_helper.coverage_reports(finished_jobs, user_args)
 
 
 def get_finished_jobs(job_list, user_args, lava):