• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bigreq/H03-May-2022-11358

scripts/H03-May-2022-15694

sync/H03-May-2022-315232

xi1/H03-May-2022-12470

xi2/H03-May-2022-4,0012,766

Makefile.amH A D03-May-20224.4 KiB193147

Makefile.inH A D03-May-2022116.6 KiB2,0581,854

READMEH A D03-May-20221 KiB2619

fixes.cH A D03-May-20229.5 KiB357249

hashtabletest.cH A D03-May-20223 KiB167135

input.cH A D03-May-202255.2 KiB1,9331,515

list.cH A D03-May-20229.8 KiB389268

meson.buildH A D03-May-2022628 2823

misc.cH A D03-May-20226 KiB235165

signal-logging.cH A D03-May-202212.6 KiB407298

simple-xinit.cH A D03-May-20226.2 KiB233160

string.cH A D03-May-20222.1 KiB7232

test_xkb.cH A D03-May-20225.4 KiB177101

tests-common.cH A D03-May-2022678 3430

tests-common.hH A D03-May-2022271 137

tests.cH A D03-May-20221 KiB4537

tests.hH A D03-May-2022940 3930

touch.cH A D03-May-20227.7 KiB295208

xfree86.cH A D03-May-20223 KiB10864

xtest.cH A D03-May-20224 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