mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
validate:launcher: Do not print time spent if the testsuite never started
This commit is contained in:
parent
2dc7dd1257
commit
1055540d55
1 changed files with 5 additions and 4 deletions
|
@ -98,10 +98,11 @@ class Reporter(Loggable):
|
|||
print("\n")
|
||||
lenstat = (len("Statistics") + 1)
|
||||
printc("Statistics:\n%s" % (lenstat * "-"), Colors.OKBLUE)
|
||||
printc("\n%sTotal time spent: %s seconds\n" %
|
||||
((lenstat * " "), datetime.timedelta(
|
||||
seconds=(time.time() - self._start_time))),
|
||||
Colors.OKBLUE)
|
||||
if self._start_time > 0:
|
||||
printc("\n%sTotal time spent: %s seconds\n" %
|
||||
((lenstat * " "), datetime.timedelta(
|
||||
seconds=(time.time() - self._start_time))),
|
||||
Colors.OKBLUE)
|
||||
printc("%sPassed: %d" %
|
||||
(lenstat * " ", self.stats["passed"]), Colors.OKGREEN)
|
||||
printc("%sFailed: %d" %
|
||||
|
|
Loading…
Reference in a new issue