diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-11-23 14:38:57 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-11-23 14:38:57 +0100 |
commit | fbd4f04d204c7052a6016fa4b694ffb2bc536955 (patch) | |
tree | c1cf9cb597165b95a08a9752c6f3af35d92879c6 /resources/tools/presentation/generator_files.py | |
parent | e4091a25520e8cf1c62254df74b7ccf57f2ce1c7 (diff) |
CSIT-1351: Add Denverton results to report
- Add tests' configurations
- Add tests' operational data
Change-Id: Ie435beb5942a6525fe8f3ccbcfabd887ff98ff0a
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.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_files.py b/resources/tools/presentation/generator_files.py index ac3a8dbb83..3c2939e15a 100644 --- a/resources/tools/presentation/generator_files.py +++ b/resources/tools/presentation/generator_files.py @@ -114,7 +114,20 @@ def file_test_results(file_spec, input_data): suite["level"] - file_spec["data-start-level"] - 1) * len(suite["name"]))) + 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: @@ -123,4 +136,5 @@ def file_test_results(file_spec, input_data): RST_INCLUDE_TABLE.format( file_latex=tbl_file, file_html=tbl_file.split("/")[-1])) + logging.info(" Done.") |