test suite uses current X server

Bug #439791 reported by Robert Collins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Triaged
High
Mirco Müller

Bug Description

The test suite uses the current X server to execute. This is a problem for folk doing interactive builds (and also folk using flymake and similar just-in-time background qa tools).

Using xvfb should permit most X needing code to execute without using the current X server. I *think* xvfb supports GL extensions and so forth, but this needs checking. Tests that need human observation obviously can't be run in this mode; they should run in the current X server [for now].

Revision history for this message
Mirco Müller (macslow) wrote :

GL is not needed. As for xvfb, I don't know how to integrate that into the "make check" run.

Mirco Müller (macslow)
Changed in notify-osd:
assignee: nobody → Mirco Müller (macslow)
status: New → Incomplete
importance: Undecided → Wishlist
Revision history for this message
Robert Collins (lifeless) wrote :

This is high, because the on commit test runs don't add value unless they actually run the tests :). Other projects have examples of using xvfb now - grab me or ted on IRC and we can point you at examples.

Changed in notify-osd:
status: Incomplete → Triaged
importance: Wishlist → High
Revision history for this message
Robert Collins (lifeless) wrote :

Oh, and when closing this, please be sure to update the test build to run 'make V=1 check' rather than just 'make V=1'

affects: notify-osd → notify-osd (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.