mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate:launcher: Print the iteration number when running forever
This commit is contained in:
parent
58711edce8
commit
085ebf03ba
1 changed files with 8 additions and 1 deletions
|
@ -1562,7 +1562,14 @@ class _TestsLauncher(Loggable):
|
|||
|
||||
def run_tests(self):
|
||||
if self.options.forever:
|
||||
while self._run_tests():
|
||||
r = 1
|
||||
while True:
|
||||
t = "Running iteration %d" % r
|
||||
print("%s\n%s\n%s\n" % ("=" * len(t), t, "=" * len(t)))
|
||||
|
||||
if not self._run_tests():
|
||||
break
|
||||
r += 1
|
||||
self.clean_tests()
|
||||
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue