diff --git a/build/buildbot/config/include/defs.xml b/build/buildbot/config/include/defs.xml index 94c0d7909d..0c5b550e26 100644 --- a/build/buildbot/config/include/defs.xml +++ b/build/buildbot/config/include/defs.xml @@ -372,7 +372,7 @@ cd tests && cd tests && ./test && -if [ -x test_gui ]; then ./test_gui; fi +if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui; fi