Closed Bug 1220159 Opened 9 years ago Closed 2 years ago

wpt __dir__.ini prefs apply to sub-directories on linux/mac, but not windows

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bkelly, Unassigned)

References

Details

We have some SW prefs set in this file:

  service-workers/service-workers/__dir__.ini

On mac and linux these prefs are applied to the tests in these two directories:

  service-workers/service-workers
  service-workers/service-workers/ServiceWorkerGlobalScope

On windows, though, I had to add a separate __dir__.ini for the prefs to be applied.  See bug 1220014.

What is the actual desired behavior?  Seems like at least one platform has an issue with in the testharness.
Windows is wrong here; it's a path seperator problem.
I think this will also be solved by https://github.com/w3c/wpt-tools/pull/39 which ensures that the test paths are always stored on disk with / as the separator and in memory using the os.path.sep (the code here splits on the latter so is broken using a manifest generated on Linux under Windows).
Severity: normal → S3

It seems like this probably was fixed by https://github.com/w3c/wpt-tools/pull/39 so resolving WFM.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.