feat: add --overview-only to test subcommand
This commit is contained in:
parent
bbc1370dd5
commit
4dad379928
2 changed files with 31 additions and 25 deletions
|
|
@ -251,6 +251,8 @@ struct Test {
|
|||
pub show_fields: bool,
|
||||
#[arg(short, long, help = "Force rebuild the parser")]
|
||||
pub rebuild: bool,
|
||||
#[arg(long, help = "Show only the pass-fail overview tree")]
|
||||
pub overview_only: bool,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
|
@ -710,6 +712,7 @@ impl Test {
|
|||
color,
|
||||
test_num: 1,
|
||||
show_fields: self.show_fields,
|
||||
overview_only: self.overview_only,
|
||||
};
|
||||
|
||||
test::run_tests_at_path(&mut parser, &mut opts)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue