aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-11-21 13:44:42 +0100
committerTibor Frank <tifrank@cisco.com>2018-11-21 12:46:27 +0000
commit22f64a7827acf6d8d5c4a5be0f587281fb937c13 (patch)
tree3d794ecd34613cdab47d0676bed10177385be674
parente199748ddae9bbc6bcecd67c80e80773ba8a406a (diff)
CSIT-1351: Add Denverton results to report
Change-Id: I933220671cecd1ecceef6cc36a204fa8d7144508 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 0ff42213e25dbec0a93d6b912abffc710d96d3a4)
-rw-r--r--resources/tools/presentation/generator_files.py16
-rw-r--r--resources/tools/presentation/specification.yaml2
2 files changed, 5 insertions, 13 deletions
diff --git a/resources/tools/presentation/generator_files.py b/resources/tools/presentation/generator_files.py
index 1247924cdf..ac3a8dbb83 100644
--- a/resources/tools/presentation/generator_files.py
+++ b/resources/tools/presentation/generator_files.py
@@ -109,20 +109,12 @@ def file_test_results(file_spec, input_data):
if len(suite_longname.split(".")) <= file_spec["data-start-level"]:
continue
- 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"])))
+ 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:
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index f71da18272..2a32b2cae2 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -3989,7 +3989,7 @@
file-header: "\n.. |br| raw:: html\n\n <br />\n\n\n.. |prein| raw:: html\n\n <pre>\n\n\n.. |preout| raw:: html\n\n </pre>\n\n"
dir-tables: "{DIR[DTR,MRR,VPP,2N,DNV]}"
data: "intel-dnv-vpp"
- filter: "all"
+ filter: "'MRR'"
parameters:
- "name"
- "doc"