diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-01-13 07:25:25 +0100 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2017-01-13 07:28:52 +0100 |
commit | 52e84f3cad6078e89031dafd789a8df57c1d7e1f (patch) | |
tree | 12db28984db32ad0955e10b0846ab056d7738e20 /test | |
parent | 8bf68e858a30a9c04329668d2b5dd67e9ad6f5af (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>
Diffstat (limited to 'test')
-rw-r--r-- | test/framework.py | 4 | ||||
-rw-r--r-- | test/log.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/framework.py b/test/framework.py index b2c6b9e4..a6b07f14 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 cca542b4..1e541d38 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): |