allow shorter variables in reftest sandbox for widget tests

RESOLVED FIXED in mozilla1.9.3a5

Status

defect
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

Trunk
mozilla1.9.3a5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

One comment complaint I've heard about the reftest manifest format is that fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") is rather unwieldy.

So I propose that we define 4 new variables in the reftest sandbox:
  cocoaWidget
  gtk2Widget
  qtWidget
  winWidget
(and can add more in the future for new widget ports), such that one can instead write fails-if(gtk2Widget) for the same thing.


I have a pair of patches to fix this (and once I do, I'd presumably mass-change the existing manifests, but I don't want to write that patch until it's ready to land).
Building the sandbox has come to take up a decent chunk of code; it should now be its own function for clarity.
Attachment #449462 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/f3d46038a794
http://hg.mozilla.org/mozilla-central/rev/f9e8bdcb48cd
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
I landed the mass change:
http://hg.mozilla.org/mozilla-central/rev/ec0c1319fec3

... but I should probably remove MOZ_WIDGET_TOOLKIT at some point as well.
You need to log in before you can comment on or make changes to this bug.