Software/XTesting

X Testing Software

This page provides infomation on various tools to aid the testing ( and to a degree, debugging ) of X Servers and Clients.

Please add anything I've missed that you find useful.

General Testing/Debugging Tools ( Not X specific )

gdb

GNU interactive debugger.

http://www.gnu.org/software/gdb/gdb.html

gcov, gprof

Code coverage and profiling. Part of the GCC compiler collection.

http://gcc.gnu.org/

valgrind

Valgrind is a GPL'd system for debugging and profiling x86-Linux ( and now powerpc ? ) programs. Very useful for trapping memory leaks.

http://valgrind.kde.org/

X Server Testing

rendercheck

EricAnholt 's program for testing server render acceleration correctness. In initial development, available from fd.o git "xapps/rendercheck/"

Xtest suite

Old MIT based Test Suite for testing conformance of ported servers.

builds for me via xmkmf, . ./build.sh. Have no idea how to run it.

ftp://ftp.xfree86.org/pub/XFree86/xtest/

( also see http://www.opengroup.org/testing/testsuites/vsw5.htm )

A slightly updated version of the old test suite with build instruction can be found here: http://wiki.x.org/wiki/XorgTesting

x11perf

Tests performance of most ( non render ext ) X operations.

Available packaged in most distributions.

Misc

I did some tests measuring blit speeds with kdrive on various ARM based handhelds. The results of which are available here;

http://handhelds.org/~mallum/fullscreen/

X Client Testing

Client X servers ( or X clients that are servers )

XSDL, Xnest

Xephyr

Server side resource leaks

xrestop

EWMH/ICCCM compliance

Window manager tools.

xprop

wininfo

Protocol usage / events

xev

xmon

Also see

Automating Usage

Xnee

Misc

matchbox-nest

-- MatthewAllum - 09 Jun 2004