tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c6391fe5097e2ade3bfe8b8240930a8d027e8536
parent 1d759f5caf7b54b917093b0fe94a3ab8c5117afd
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Tue, 16 Dec 2025 14:39:13 +0000

Bug 2005230 - Avoid duplicating some web-platform-tests task r=jcristau,taskgraph-reviewers

Such duplication creates sharing between tests, an unwanted property.

Differential Revision: https://phabricator.services.mozilla.com/D275794

Diffstat:
Mtaskcluster/gecko_taskgraph/transforms/test/chunk.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/taskcluster/gecko_taskgraph/transforms/test/chunk.py b/taskcluster/gecko_taskgraph/transforms/test/chunk.py @@ -126,6 +126,7 @@ def set_test_manifests(config, tasks): remaining_manifests = [] # if we have web-platform tests incoming, just yield task + found_wpt = False for m in input_paths: if m.startswith("testing/web-platform/tests/"): found_subsuite = [ @@ -141,7 +142,10 @@ def set_test_manifests(config, tasks): if not isinstance(loader, DefaultLoader): task["chunks"] = "dynamic" yield task + found_wpt = True break + if found_wpt: + continue # input paths can exist in other directories (i.e. [../../dir/test.js]) # we need to look for all [active] manifests that include tests in the path