Name Date Size #Lines LOC

..--

bigreq/H05-Jun-2025-11358

scripts/H05-Jun-2025-200121

sync/H05-Jun-2025-315232

xi1/H05-Jun-2025-12470

xi2/H05-Jun-2025-4,0012,766

Makefile.amH A D05-Jun-20254.4 KiB193147

Makefile.inH A D05-Jun-2025116.5 KiB2,0561,852

READMEH A D05-Jun-20251 KiB2619

fixes.cH A D05-Jun-20259.5 KiB357249

hashtabletest.cH A D05-Jun-20253 KiB167135

input.cH A D05-Jun-202555.2 KiB1,9331,515

list.cH A D05-Jun-20259.8 KiB389268

meson.buildH A D05-Jun-2025628 2823

misc.cH A D05-Jun-20256 KiB235165

signal-logging.cH A D05-Jun-202512.6 KiB407298

simple-xinit.cH A D05-Jun-20256.2 KiB233160

string.cH A D05-Jun-20252.1 KiB7232

test_xkb.cH A D05-Jun-20255.4 KiB177101

tests-common.cH A D05-Jun-2025678 3430

tests-common.hH A D05-Jun-2025271 137

tests.cH A D05-Jun-20251 KiB4537

tests.hH A D05-Jun-2025940 3930

touch.cH A D05-Jun-20257.7 KiB295208

xfree86.cH A D05-Jun-20253 KiB10864

xtest.cH A D05-Jun-20254 KiB14089

README

1                        X server test suite
2
3This suite contains a set of tests to verify the behaviour of functions used
4internally to the server.
5
6= How it works =
7Through some automake abuse, we link the test programs with the same static
8libraries as the Xorg binary. The test suites can then call various functions
9and verify their behaviour - without the need to start the server or connect
10clients.
11
12This testing only works for functions that do not rely on a particular state
13of the X server. Unless the test suite replicates the expected state, which
14may be difficult.
15
16= How to run the tests =
17Run "make check" in the test directory. This will compile the tests and execute
18them in the order specified in the TESTS variable in test/Makefile.am.
19
20Each set of tests related to a subsystem are available as a binary that can be
21executed directly. For example, run "xkb" to perform some xkb-related tests.
22
23== Adding a new test ==
24When adding a new test, ensure that you add a short description of what the
25test does and what the expected outcome is.
26