summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-01-13 07:25:25 +0100
committerKlement Sekera <ksekera@cisco.com>2017-01-13 07:28:52 +0100
commit52e84f3cad6078e89031dafd789a8df57c1d7e1f (patch)
tree12db28984db32ad0955e10b0846ab056d7738e20
parent8bf68e858a30a9c04329668d2b5dd67e9ad6f5af (diff)
make test: improve test results printing
Accomodate longer test descriptions by increasing the headings size. Change-Id: I51c90b8d91feaa83b78972d0802d3054f8510f36 Signed-off-by: Klement Sekera <ksekera@cisco.com>
-rw-r--r--test/framework.py4
-rw-r--r--test/log.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/framework.py b/test/framework.py
index b2c6b9e4555..a6b07f14991 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -665,11 +665,11 @@ class VppTestResult(unittest.TestResult):
unittest.TestResult.stopTest(self, test)
if self.verbosity > 0:
self.stream.writeln(single_line_delim)
- self.stream.writeln("%-60s%s" % (self.getDescription(test),
+ self.stream.writeln("%-73s%s" % (self.getDescription(test),
self.result_string))
self.stream.writeln(single_line_delim)
else:
- self.stream.writeln("%-60s%s" % (self.getDescription(test),
+ self.stream.writeln("%-73s%s" % (self.getDescription(test),
self.result_string))
def printErrors(self):
diff --git a/test/log.py b/test/log.py
index cca542b4527..1e541d38352 100644
--- a/test/log.py
+++ b/test/log.py
@@ -5,9 +5,9 @@ import os
import logging
""" @var formatting delimiter consisting of '=' characters """
-double_line_delim = '=' * 70
+double_line_delim = '=' * 78
""" @var formatting delimiter consisting of '-' characters """
-single_line_delim = '-' * 70
+single_line_delim = '-' * 78
def colorize(msg, color):