Open Bug 886520 Opened 12 years ago Updated 3 years ago

Use xnest for running reftests

Categories

(Testing :: Reftest, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: gw280, Unassigned)

References

Details

Reftests require that the Mozilla window has input focus; it'd be nice if on Linux, running "mach reftest" would automatically set up the xnest session for running them in.
Component: mach → Reftest
Product: Core → Testing
xnest is obsolete. Use Xephyr. Or xvfb-run, it's actually just easier.
Does this have the same properties in terms of whether GPU acceleration is going to be enabled? (Or is this intended to be done in a way that applies to developers but not to what happens on tinderbox? If so... is that dangerous in terms of failures that might happen one way but not the other?)
Hrm, good point. I have no idea if GLX is supported inside an Xnext (or xephyr or xvfb-run) session.
Just checked and confirmed the Xephyr has glx. Would it make sense for "mach mochitest" to set up the xephyr session or should it be left up to devs to set up the xephyr session themselves? I'd rather have the former, mainly because I always forget to do it :)
The first, please. Most people aren't going to have the time/interest in doing the latter. The few that do can implement that customization in a followup. ;-)
I'm pretty positive that zwol had patches to do this for Reftest or Mochitest at one point (related: bug 514067), but I don't know where they got off to. This also has some overlap with the work froydnj has been doing in bug 813742 and its prerequisites.
Aha! zwol's patch was on bug 434365.
See Also: → 434365
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.