diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-08-16 08:20:07 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-08-16 08:20:07 +0200 |
commit | 7da9d215fc0867e19160d38b0096e58c78381bf8 (patch) | |
tree | c9728b7ca39ea660043cd57e3473f3922ae6d0af | |
parent | 4f449c75717ba8d729fca0ebf35d25b345a7484c (diff) |
PAL: Process show runtime output 2
- format the tables
Change-Id: I31f786d53b79fa14c5d2dc21ff65d0465fde1d4f
Signed-off-by: Tibor Frank <tifrank@cisco.com>
-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"] += \ |