diff options
Diffstat (limited to 'crates/driver/src/main.rs')
-rw-r--r-- | crates/driver/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/driver/src/main.rs b/crates/driver/src/main.rs index 44e5e1d..bd08f18 100644 --- a/crates/driver/src/main.rs +++ b/crates/driver/src/main.rs @@ -22,6 +22,9 @@ struct Opts { /// Defaults to the number of available CPUs #[clap(short, long)] jobs: Option<usize>, + /// Keep going after some tasks have failed + #[clap(short, long)] + keep_going: bool, /// The tasks to run #[clap(name = "task", required = true)] tasks: Vec<String>, @@ -62,7 +65,7 @@ fn main() { } let taskset = rsv.into_taskset(); let mut driver = driver::Driver::new(&ctx, taskset, force_run).unwrap(); - match driver.run(&runner) { + match driver.run(&runner, opts.keep_going) { Ok(success) => { if !success { std::process::exit(1); |