File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ You could re-run the failing test with:
29
29
The parameter ` -V ` enables verbose mode and ` -R ` takes a regular expression as
30
30
parameter and will only run matching tests.
31
31
32
-
33
32
For python tests, you can run a specific test inside a unit file
34
33
with something like this:
35
34
@@ -39,6 +38,13 @@ with something like this:
39
38
TestQgsVectorLayer.testOverwriteLayer
40
39
```
41
40
41
+ If you get ` Could not connect to any X display ` errors it means that your build
42
+ machine does not have an X server. In that case you need to run the test under
43
+ ` xvfb-run ` . For example:
44
+
45
+ ```
46
+ xvfb-run --server-args=-screen\ 10\ 1024x768x24 ctest -V -R PyQgsServerWMSGetMap
47
+ ```
42
48
43
49
# Advanced configuration
44
50
You can’t perform that action at this time.
0 commit comments