PAL: Process show runtime output 2 45/21345/1
authorTibor Frank <tifrank@cisco.com>
Fri, 16 Aug 2019 06:20:07 +0000 (08:20 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 16 Aug 2019 06:20:07 +0000 (08:20 +0200)
- format the tables

Change-Id: I31f786d53b79fa14c5d2dc21ff65d0465fde1d4f
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/input_data_parser.py

index b0d7245..f2656d2 100644 (file)
@@ -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"] += \

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.