Docs: add hint to use xvfb-run

Document that Xvfb can be used to run tests without an X server, and be
used to significantly speed up tests on machines with slow video cards.
This commit is contained in:
Tony Crisci 2015-02-21 16:36:24 -05:00
parent b9cc54f15b
commit 05de5201c0
1 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,11 @@ containing the appropriate i3 logfile for each testcase. The latest folder can
always be found under the symlink +latest/+. Unless told differently, it will always be found under the symlink +latest/+. Unless told differently, it will
run the tests on a separate X server instance (using Xephyr). run the tests on a separate X server instance (using Xephyr).
Xephyr will open a window where you can inspect the running test. You can run
the tests without an X session with Xvfb, such as with +xvfb-run
./complete-run+. This will also speed up the tests signficantly especially on
machines without a powerful video card.
.Example invocation of complete-run.pl+ .Example invocation of complete-run.pl+
--------------------------------------- ---------------------------------------
$ cd ~/i3/testcases $ cd ~/i3/testcases