]> git.saurik.com Git - wxWidgets.git/blobdiff - build/buildbot/config/include/defs.xml
Make the gui test still run on the buildbot when the non-gui tests fail.
[wxWidgets.git] / build / buildbot / config / include / defs.xml
index 39605c89626afc609a33896ce1ef2e53ebc40f2f..c0fab9951c17f5af1c581c2b7cb280595794c13d 100644 (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>
 
 <!--