X.org testing with Google Test
chase.douglas at canonical.com
Sat Dec 24 14:08:03 PST 2011
On 12/23/2011 03:36 PM, Ian Romanick wrote:
> The big advantage of a test framework like gtest is that the
> infrastructure makes it easy to write a large number of small, easy to
> understand (WTF is this testing?), easy to debug (WTF is this failing?)
> tests. For the work mentioned above, I wrote about 75 tests. It wasn't
> until I was done that I even realized how many there were. This seems
> like a good thing.
Because our usage doesn't require real display, xorg-gtest runs with the
dummy video driver by default. This is accomplished by providing a dummy
xorg.conf file and forking the X.org server with it. However, xorg-gtest
allows for using the existing display (using $DISPLAY), or using a
different xorg.conf file.
Do you think xorg-gtest would be helpful for your testing? We want to
make it useful for a broad range of test scenarios.
More information about the xorg-devel