diff options
-rw-r--r-- | README.md | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,6 +1,7 @@ This is a test suite for X.Org tests. -== Building the code == +Building the code +================= ``` $ meson builddir @@ -9,7 +10,9 @@ $ ninja -C builddir This project relies on the xorg-gtest repo which is enabled as a submodule. -== Running the tests == +Running the tests +================= + Tests can be run by `ninja -C builddir test`, or one-by-one. Most tests start up some X server, so it is advisable to shut down any X @@ -20,7 +23,9 @@ advisable to shut down any X server on the test box. For controlling test output (e.g. xml reporting), refer to http://code.google.com/p/googletest/wiki/AdvancedGuide#Controlling_Test_Output -== Debugging test failures == +Debugging test failures +======================= + To run a subset of tests within a test case, filter on the test name. For example, @@ -37,5 +42,7 @@ allows to investigate logs or attach gdb to the server process. For further environment variables please refer to the xorg-gtest README http://gitlab.freedesktop.org/xorg/test/xorg-gtest/ -== Writing tests == +Writing tests +============= + Please refer to the HACKING document |