diff options
Diffstat (limited to 'crates/driver/src/driver.rs')
-rw-r--r-- | crates/driver/src/driver.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index c401f27..cc4bfbf 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -402,7 +402,7 @@ impl<'ctx> Driver<'ctx> { && self.tasks_running.is_empty() } - pub fn run(&mut self, runner: &Runner) -> Result<bool> { + pub fn run(&mut self, runner: &Runner, keep_going: bool) -> Result<bool> { let mut success = true; self.run_tasks(runner)?; @@ -411,7 +411,7 @@ impl<'ctx> Driver<'ctx> { if !self.wait_for_task()? { success = false; } - if success { + if success || keep_going { self.run_tasks(runner)?; } } |