CSIT-1452: Make PAL use PapiHistory instead of VatHistory
[csit.git] / resources / tools / presentation / generator_tables.py
index 41dfb94..b55e4a5 100644 (file)
@@ -96,7 +96,7 @@ def table_details(table, input_data):
                     try:
                         col_data = str(data[job][build][test][column["data"].
                                        split(" ")[1]]).replace('"', '""')
-                        if column["data"].split(" ")[1] in ("vat-history",
+                        if column["data"].split(" ")[1] in ("conf-history",
                                                             "show-run"):
                             col_data = replace(col_data, " |br| ", "",
                                                maxreplace=1)
@@ -161,7 +161,7 @@ def table_merged_details(table, input_data):
                     try:
                         col_data = str(data[test][column["data"].
                                        split(" ")[1]]).replace('"', '""')
-                        if column["data"].split(" ")[1] in ("vat-history",
+                        if column["data"].split(" ")[1] in ("conf-history",
                                                             "show-run"):
                             col_data = replace(col_data, " |br| ", "",
                                                maxreplace=1)
@@ -486,8 +486,8 @@ def table_nics_comparison(table, input_data):
                         elif table["compare"]["nic"] in tst_data["tags"]:
                             tbl_dict[tst_name_mod]["cmp-data"].append(result)
                 except (TypeError, KeyError) as err:
-                    logging.warning("No data for {0}".format(tst_name))
-                    logging.warning(repr(err))
+                    logging.debug("No data for {0}".format(tst_name))
+                    logging.debug(repr(err))
                     # No data in output.xml for this test
 
     tbl_lst = list()
@@ -683,9 +683,9 @@ def _generate_url(base, testbed, test_name):
             file_name = "vm_vhost_l2"
             if "114b" in test_name:
                 feature = ""
-            elif "l2xcbase" in test_name:
+            elif "l2xcbase" in test_name and "x520" in test_name:
                 feature = "-base-l2xc"
-            elif "l2bdbasemaclrn" in test_name:
+            elif "l2bdbasemaclrn" in test_name and "x520" in test_name:
                 feature = "-base-l2bd"
             else:
                 feature = "-base"