Feature #6
Generic X11 test API
| Status: | New | Start: | 01/11/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | GSoC | |||
Description
Create an API that would make it possible to create tests that use X11, i.e. game benchmarks and stress tests.
It should provide easy to use means to:- Start an X11 server and run clients against it from test script
- If there's already server started (i.e. DISPLAY environment variable exists), we should use it - it's the easiest case.
- If there's no X11 server running, we should make clever autoconfigure guesses. Obviously, these autoconfigure and starting mechanisms would be distribution-dependent. We should support at least 2 distributions for X11 tests:
- ALT Linux
- Debian/Ubuntu
- Check that it's started and provide graceful failure or test skipping if:
- It's impossible to run X11 server on this machine at all (no video card at all, no suitable video driver, autodetects failed, etc).
- Started server doesn't provide all required capabilities for test to run (i.e. hardware 3D acceleration).
- Stop X11 server after test run (both if it's success or failure).