aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_files.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-11-21 10:27:46 +0100
committerTibor Frank <tifrank@cisco.com>2018-11-21 10:40:09 +0100
commit803610d9ca0c1afd345db4d2858d4aa93a5233ed (patch)
treefb313ae1cb22f2944e2b3c0125613c652f3dfc95 /resources/tools/presentation/generator_files.py
parent97e1c56a90e84c6acd8743922e6b1c4899c61117 (diff)
CSIT-1351: Add Denverton results to report
Change-Id: I4c2ae4ca8ababcae07861ad253dd080b25f16279 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_files.py')
-rw-r--r--resources/tools/presentation/generator_files.py22
1 files changed, 16 insertions, 6 deletions
diff --git a/resources/tools/presentation/generator_files.py b/resources/tools/presentation/generator_files.py
index ef7ebea968..1247924cdf 100644
--- a/resources/tools/presentation/generator_files.py
+++ b/resources/tools/presentation/generator_files.py
@@ -108,13 +108,23 @@ def file_test_results(file_spec, input_data):
for suite_longname, suite in suites.iteritems():
if len(suite_longname.split(".")) <= file_spec["data-start-level"]:
continue
- file_handler.write("\n{0}\n{1}\n".format(
- suite["name"], get_rst_title_char(
- suite["level"] - file_spec["data-start-level"] - 1) *
- len(suite["name"])))
- file_handler.write("\n{0}\n".format(
- suite["doc"].replace('|br|', '\n\n -')))
+
+ if not ("-ndrpdr" in suite["name"] or
+ "-mrr" in suite["name"] or
+ "-func" in suite["name"] or
+ "-device" in suite["name"]):
+ file_handler.write("\n{0}\n{1}\n".format(
+ suite["name"], get_rst_title_char(
+ suite["level"] - file_spec["data-start-level"] - 1) *
+ len(suite["name"])))
+
if _tests_in_suite(suite["name"], tests):
+ file_handler.write("\n{0}\n{1}\n".format(
+ suite["name"], get_rst_title_char(
+ suite["level"] - file_spec["data-start-level"] - 1) *
+ len(suite["name"])))
+ file_handler.write("\n{0}\n".format(
+ suite["doc"].replace('|br|', '\n\n -')))
for tbl_file in table_lst:
if suite["name"] in tbl_file:
file_handler.write(