Closed Bug 1050207 Opened 10 years ago Closed 2 years ago

Expose OS to xpcshell tests

Categories

(Testing :: XPCShell Harness, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gfritzsche, Unassigned)

References

Details

Attachments

(1 file)

We have custom tests for the operating system spread across our tests, e.g.:
http://dxr.mozilla.org/mozilla-central/search?q=iswindows+path%3Atest&case=false

isWindows, gIsWindows, isOSX, gIsOsx, ...

We should just expose a property for that to the tests from a single location.
See Also: → 1050205
See also bug 1050205 for the mochitest incarnation.
Depends on: 1150818
Attached patch Use mozinfoSplinter Review
For the reference, this is a patch to use mozinfo in xpcshell tests.

this was done in bug 1150818

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

Attachment

General

Created:
Updated:
Size: