don't run GUI tests under Unix if the DISPLAY is not set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-06-01 18:33:36 +00:00
parent 14b4f6fcc0
commit 834054468b

View File

@ -372,7 +372,7 @@ cd tests &&
<normalize-space> <normalize-space>
cd tests &amp;&amp; cd tests &amp;&amp;
./test &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> </normalize-space>
</xsl:template> </xsl:template>