Skip to content
Browse files

Mention xvfb-run in tests/

  • Loading branch information
Éric Lemoine
Éric Lemoine committed May 16, 2019
1 parent b0ae641 commit c09d39ef155176bd9763225eb12c13b8d18b2e77
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/
@@ -29,7 +29,6 @@ You could re-run the failing test with:
The parameter `-V` enables verbose mode and `-R` takes a regular expression as
parameter and will only run matching tests.

For python tests, you can run a specific test inside a unit file
with something like this:

@@ -39,6 +38,13 @@ with something like this:

If you get `Could not connect to any X display` errors it means that your build
machine does not have an X server. In that case you need to run the test under
`xvfb-run`. For example:

xvfb-run --server-args=-screen\ 10\ 1024x768x24 ctest -V -R PyQgsServerWMSGetMap

# Advanced configuration

0 comments on commit c09d39e

Please sign in to comment.
You can’t perform that action at this time.