]> git.saurik.com Git - wxWidgets.git/commitdiff
Make the gui test still run on the buildbot when the non-gui tests fail.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 13 Apr 2010 20:22:53 +0000 (20:22 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 13 Apr 2010 20:22:53 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/buildbot/config/include/defs.xml

index 39605c89626afc609a33896ce1ef2e53ebc40f2f..c0fab9951c17f5af1c581c2b7cb280595794c13d 100644 (file)
@@ -367,11 +367,11 @@ cd tests &amp;&amp; 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>
 
 <!--