diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-08-16 08:20:07 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-08-16 06:22:24 +0000 |
commit | ad4d0130f32f295310d3dd330ad477f620938951 (patch) | |
tree | fc79d5ed4f08e10be4105ba610050f22c7500d98 /resources/tools | |
parent | 28078f77c3d8aa24720389ea61be7b3f6b9ef929 (diff) |
PAL: Process show runtime output 2
- format the tables
Change-Id: I31f786d53b79fa14c5d2dc21ff65d0465fde1d4f
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 7da9d215fc0867e19160d38b0096e58c78381bf8)
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index b0d7245e0c..f2656d2381 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -539,10 +539,9 @@ class ExecutionChecker(ResultVisitor): txt_table.align["Suspends"] = "r" txt_table.align["Clocks"] = "r" - text += txt_table.get_string(sortby="Name") + '\n' + text += txt_table.get_html_string(sortby="Name") + '\n' - text = text.replace('\n', ' |br| ').replace('\r', '').\ - replace('"', "'") + text = text.replace('\n', '').replace('\r', '') try: self._data["tests"][self._test_ID]["show-run"] += " |br| " self._data["tests"][self._test_ID]["show-run"] += \ |