diff --git a/game/tests/run_all.gd b/game/tests/run_all.gd index 93e05bd1..84c5a93f 100644 --- a/game/tests/run_all.gd +++ b/game/tests/run_all.gd @@ -66,9 +66,10 @@ func _init() -> void: for a in OS.get_cmdline_user_args(): if a.begins_with("--only="): has_only = true - var term := a.trim_prefix("--only=").strip_edges() - if term != "": - only_terms.append(term) + for part in a.trim_prefix("--only=").split(","): + var term := part.strip_edges() + if term != "": + only_terms.append(term) elif a == "--only-source=gates": only_from_gates = true elif a.begins_with("--shard="):