mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
validate:launcher: Support retry on failure when using --n-runs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113>
This commit is contained in:
parent
f2efd3b133
commit
4762b138b6
1 changed files with 1 additions and 1 deletions
|
@ -2194,7 +2194,7 @@ class _TestsLauncher(Loggable):
|
||||||
res = True
|
res = True
|
||||||
for r in range(self.options.n_runs):
|
for r in range(self.options.n_runs):
|
||||||
printc("-> Iteration %d" % r, end='\r')
|
printc("-> Iteration %d" % r, end='\r')
|
||||||
if not self._run_tests():
|
if not self._run_tests(retry_on_failures=self.options.retry_on_failures):
|
||||||
res = False
|
res = False
|
||||||
printc("ERROR", Colors.FAIL, end="\r")
|
printc("ERROR", Colors.FAIL, end="\r")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue