From b353e82085d7e44806713c6f4b9e9628e996a1c4 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Wed, 8 Jul 2026 00:11:07 +0000 Subject: [PATCH] performance-metrics: Support comma-separated test filters The '--test-filter' and '--test-exclude' arguments only accepted a single keyword, even though the underlying selection logic already matches against a list. Add a comma value delimiter to both so multiple keywords can be passed in one invocation. Signed-off-by: Bo Chen --- performance-metrics/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/performance-metrics/src/main.rs b/performance-metrics/src/main.rs index 9bbade5c5..f570a3109 100644 --- a/performance-metrics/src/main.rs +++ b/performance-metrics/src/main.rs @@ -1783,15 +1783,17 @@ fn main() { .arg( Arg::new("test-filter") .long("test-filter") - .help("Filter metrics tests to run based on provided keywords") + .help("Filter metrics tests to run based on provided keywords (comma-separated)") .num_args(1) + .value_delimiter(',') .required(false), ) .arg( Arg::new("test-exclude") .long("test-exclude") - .help("Exclude metrics tests matching the provided keywords") + .help("Exclude metrics tests matching the provided keywords (comma-separated)") .num_args(1) + .value_delimiter(',') .required(false), ) .arg(