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 <bchen@crusoe.ai>
This commit is contained in:
Bo Chen
2026-07-08 00:11:07 +00:00
committed by Rob Bradford
parent ad3dbcd130
commit b353e82085

View File

@@ -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(