[dv regr tool] Generate testplan annotated results
- Updated script to generate a testplan annotated results table
- Additional minor fixes to support the above change
Note the table is generated using a thirld party python library called
'tabulate'. This needs to be installed separately by running
```
pip3 install --user tabulate
```
It has been added to the `python-requirements.txt` file.
Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/util/testplanner/testplan_utils.py b/util/testplanner/testplan_utils.py
index 3365b60..8ff8326 100644
--- a/util/testplanner/testplan_utils.py
+++ b/util/testplanner/testplan_utils.py
@@ -129,8 +129,8 @@
else:
tests_str = tests
results_str = results
- if ms == "na": ms = ""
- if name == "<ignore>":
+ if ms == "N.A.": ms = ""
+ if name == "N.A.":
name = ""
tests_str = "<strong>" + tests_str + "</strong>"
results_str = "<strong>" + results_str + "</strong>"