From acb3a276c8e30d26f0af78ebf593035ff486e9fb Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sun, 17 Jun 2018 08:34:09 -0400 Subject: [PATCH] validate:launcher: Fix the --forever switch It was not stopping on error. https://bugzilla.gnome.org/show_bug.cgi?id=796608 --- validate/launcher/baseclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index eb6b25a..14f5f09 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -1757,7 +1757,7 @@ class _TestsLauncher(Loggable): self.reporter.after_test(test) if res != Result.PASSED and (self.options.forever or self.options.fatal_error): - return test.result + return False if self.start_new_job(tests_left): jobs_running += 1 -- 2.7.4