From 4762b138b698fbb11627718fcee3a7238bd09a6b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 7 Oct 2021 19:42:10 -0300 Subject: [PATCH] validate:launcher: Support retry on failure when using --n-runs Part-of: --- subprojects/gst-devtools/validate/launcher/baseclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-devtools/validate/launcher/baseclasses.py b/subprojects/gst-devtools/validate/launcher/baseclasses.py index c05bc99..3a543e3 100644 --- a/subprojects/gst-devtools/validate/launcher/baseclasses.py +++ b/subprojects/gst-devtools/validate/launcher/baseclasses.py @@ -2194,7 +2194,7 @@ class _TestsLauncher(Loggable): res = True for r in range(self.options.n_runs): 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 printc("ERROR", Colors.FAIL, end="\r") else: -- 2.7.4