summaryrefslogtreecommitdiff
path: root/tests/src/args.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-08-26 13:40:37 +0200
committerGitHub <noreply@github.com>2024-08-26 11:40:37 +0000
commitcf05284a0cdfb6bff62ecb60baf16bec9853abe4 (patch)
tree638bdf1e52277762deb84cdddec77023f90f481a /tests/src/args.rs
parent88325d7d019fd65c5177a92df4347ae9a287fc19 (diff)
Small improvements to the test runner (#4838)
Diffstat (limited to 'tests/src/args.rs')
-rw-r--r--tests/src/args.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/args.rs b/tests/src/args.rs
index ca0ee73c..b3441e90 100644
--- a/tests/src/args.rs
+++ b/tests/src/args.rs
@@ -46,6 +46,9 @@ pub struct CliArguments {
/// Displays the syntax tree.
#[arg(long)]
pub syntax: bool,
+ /// Displays only one line per test, hiding details about failures.
+ #[arg(short, long)]
+ pub compact: bool,
/// Prevents the terminal from being cleared of test names.
#[arg(short, long)]
pub verbose: bool,