summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-manager/src')
-rw-r--r--test/test-manager/src/main.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test-manager/src/main.rs b/test/test-manager/src/main.rs
index a708c3fe29..37d7227967 100644
--- a/test/test-manager/src/main.rs
+++ b/test/test-manager/src/main.rs
@@ -59,6 +59,9 @@ enum Commands {
keep_changes: bool,
},
+ /// List all tests and their priority.
+ ListTests,
+
/// Spawn a runner instance and run tests
RunTests {
/// Name of the runner config
@@ -198,6 +201,17 @@ async fn main() -> Result<()> {
Ok(())
}
+ Commands::ListTests => {
+ println!("priority\tname");
+ for test in tests::get_tests() {
+ println!(
+ "{priority:8}\t{name}",
+ name = test.name,
+ priority = test.priority.unwrap_or(0),
+ );
+ }
+ Ok(())
+ }
Commands::RunTests {
name,
display,