]> git.saurik.com Git - wxWidgets.git/commitdiff
don't run GUI tests under Unix if the DISPLAY is not set
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jun 2008 18:33:36 +0000 (18:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jun 2008 18:33:36 +0000 (18:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/buildbot/config/include/defs.xml

index 94c0d7909d9e0193c2af361c8263a731be4e4866..0c5b550e266a20f14c239790406ac26461e79dbf 100644 (file)
@@ -372,7 +372,7 @@ cd tests &amp;&amp;
 <normalize-space>
 cd tests &amp;&amp;
 ./test &amp;&amp;
-if [ -x test_gui ]; then ./test_gui; fi
+if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui; fi
 </normalize-space>
 </xsl:template>