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 fixup! BB 43243: Modify mozharness scripts for Base Browser Bug 45334: Haver marionette harness accept multiple tags - - - - - 1 changed file: - testing/mozharness/scripts/marionette.py Changes: ===================================== testing/mozharness/scripts/marionette.py ===================================== @@ -82,10 +82,11 @@ class MarionetteTest(TestingMixin, MercurialScript, TransferMixin, CodeCoverageM [ ["--tag"], { - "action": "store", - "dest": "test_tag", - "default": "", - "help": "Tag that identifies how to filter which tests to run.", + "action": "append", + "default": [], + "dest": "test_tags", + "help": "Filter out tests that don't have the given tag. Can be used multiple " + "times in which case the test must contain at least one of the given tags.", }, ], [ @@ -345,8 +346,8 @@ class MarionetteTest(TestingMixin, MercurialScript, TransferMixin, CodeCoverageM cmd = [python, "-u", os.path.join(dirs["abs_marionette_dir"], "runtests.py")] - if self.config.get("test_tag", ""): - cmd.extend(["--tag", self.config["test_tag"]]) + if self.config["test_tags"]: + cmd.extend([f"--tag={t}" for t in self.config["test_tags"]]) manifest = os.path.join( dirs["abs_marionette_tests_dir"], self.config["test_manifest"] View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/725526ac... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/725526ac... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
morgan (@morgan)