diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-02-18 13:10:32 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-02-18 19:28:02 +0000 |
commit | b51708f0ad28301b87bd66d31713d436f4b9cce2 (patch) | |
tree | 5288657980867a13556b490374e4b520cca6e701 /resources/tools/presentation/generator_cpta.py | |
parent | e44449348b919996816019cd0c234c0328d593fd (diff) |
Trending: Plots
- remove not needed params
- i40e --> dpdk
Change-Id: Ib63a66486b040b01a929f3ee0a4e80468c9d4e28
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_cpta.py')
-rw-r--r-- | resources/tools/presentation/generator_cpta.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_cpta.py b/resources/tools/presentation/generator_cpta.py index 4017670427..430452149e 100644 --- a/resources/tools/presentation/generator_cpta.py +++ b/resources/tools/presentation/generator_cpta.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -359,10 +359,15 @@ def _generate_all_charts(spec, input_data): if graph.get(u"include", None): data = input_data.filter_tests_by_name( - graph, continue_on_error=True + graph, + params=[u"type", u"result", u"tags"], + continue_on_error=True ) else: - data = input_data.filter_data(graph, continue_on_error=True) + data = input_data.filter_data( + graph, + params=[u"type", u"result", u"tags"], + continue_on_error=True) if data is None or data.empty: logging.error(u"No data.") |