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>
This commit is contained in:
@ -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):
|
||||
|
@ -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):
|
||||
|
Reference in New Issue
Block a user