morgan pushed to branch tor-browser-153.3.0esr-16.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
725526ac
by Beatriz Rizental at 2026-09-21T16:10:01+00:00
1 changed file:
Changes:
| ... | ... | @@ -82,10 +82,11 @@ class MarionetteTest(TestingMixin, MercurialScript, TransferMixin, CodeCoverageM |
| 82 | 82 | [
|
| 83 | 83 | ["--tag"],
|
| 84 | 84 | {
|
| 85 | - "action": "store",
|
|
| 86 | - "dest": "test_tag",
|
|
| 87 | - "default": "",
|
|
| 88 | - "help": "Tag that identifies how to filter which tests to run.",
|
|
| 85 | + "action": "append",
|
|
| 86 | + "default": [],
|
|
| 87 | + "dest": "test_tags",
|
|
| 88 | + "help": "Filter out tests that don't have the given tag. Can be used multiple "
|
|
| 89 | + "times in which case the test must contain at least one of the given tags.",
|
|
| 89 | 90 | },
|
| 90 | 91 | ],
|
| 91 | 92 | [
|
| ... | ... | @@ -345,8 +346,8 @@ class MarionetteTest(TestingMixin, MercurialScript, TransferMixin, CodeCoverageM |
| 345 | 346 | |
| 346 | 347 | cmd = [python, "-u", os.path.join(dirs["abs_marionette_dir"], "runtests.py")]
|
| 347 | 348 | |
| 348 | - if self.config.get("test_tag", ""):
|
|
| 349 | - cmd.extend(["--tag", self.config["test_tag"]])
|
|
| 349 | + if self.config["test_tags"]:
|
|
| 350 | + cmd.extend([f"--tag={t}" for t in self.config["test_tags"]])
|
|
| 350 | 351 | |
| 351 | 352 | manifest = os.path.join(
|
| 352 | 353 | dirs["abs_marionette_tests_dir"], self.config["test_manifest"]
|