Make the gui test still run on the buildbot when the non-gui tests fail.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2010-04-13 20:22:53 +00:00
parent aff8792c70
commit c96ce98975

View File

@ -367,11 +367,11 @@ cd tests && runtests.bat
<xsl:template name="run-tests-unix">
<xsl:param name="options"/>
<normalize-space>
cd tests &amp;&amp;
./test <xsl:value-of select="normalize-space($options)"/> &amp;&amp;
if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui; fi
</normalize-space>
ERR=0
cd tests
./test <xsl:value-of select="normalize-space($options)"/> || ERR=$?
if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui || ERR=$?; fi
exit $ERR
</xsl:template>
<!--