mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
validate:launcher: Print the number of times the test was run when --forever
This commit is contained in:
parent
0a56447bcc
commit
e1625da9ed
1 changed files with 3 additions and 0 deletions
|
@ -1990,6 +1990,7 @@ class _TestsLauncher(Loggable):
|
|||
self._stop_server()
|
||||
|
||||
def run_tests(self):
|
||||
r = 0
|
||||
try:
|
||||
self._start_server()
|
||||
if self.options.forever:
|
||||
|
@ -2020,6 +2021,8 @@ class _TestsLauncher(Loggable):
|
|||
else:
|
||||
return self._run_tests(retry_on_failures=self.options.retry_on_failures)
|
||||
finally:
|
||||
if self.options.forever:
|
||||
printc("\n-> Ran %d times" % r)
|
||||
if self.httpsrv:
|
||||
self.httpsrv.stop()
|
||||
if self.vfb_server:
|
||||
|
|
Loading…
Reference in a new issue