Closed Bug 789771 Opened 12 years ago Closed 12 years ago

Add an OSX variable to the reftest condition sandbox to make it easier to test Mac OS X versions

Categories

(Testing :: Reftest, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(firefox16 fixed, firefox17 fixed)

RESOLVED FIXED
mozilla18
Tracking Status
firefox16 --- fixed
firefox17 --- fixed

People

(Reporter: philor, Assigned: dbaron)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Attached patch fix v.1Splinter Review
We've been using the pile-of-toothpicks condition "(/Mac\x20OS\x20X\x2010\.5/.test(http.oscpu))" for Mac versions in reftest conditions, but I couldn't face copy-pasting it yet again for seven more 10.8 ifs.

Inconveniently, this is dbaron's patch from https://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/19b83bbbcbd6/condition-sandbox-osx minus the anchor at the start of the regex (oscpu is "Intel Mac OS X 10.8" rather than "Mac OS X 10.8"), so I can't really expect him to review it.

https://tbpl.mozilla.org/?tree=Try&rev=27f3ef4ee4df&noignore=1 is it working fine (the 10.8 orange is because I've only patched the first couple of failures).
Attachment #659551 - Flags: review?(roc)
The variable in https://hg.mozilla.org/integration/mozilla-inbound/rev/ebff207c2574, using it for the existing conditions and dumping the unsupported 10.5 in https://hg.mozilla.org/integration/mozilla-inbound/rev/349231ac63a1
Assignee: nobody → dbaron
Thanks for fixing and landing it for me.
https://hg.mozilla.org/mozilla-central/rev/ebff207c2574
https://hg.mozilla.org/mozilla-central/rev/349231ac63a1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: