git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63968
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
<xsl:template name="run-tests-unix">
<xsl:param name="options"/>
-<normalize-space>
-cd tests &&
-./test <xsl:value-of select="normalize-space($options)"/> &&
-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>
<!--