harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r575553 - in /harmony/enhanced/drlvm/trunk/build/make/targets: cunit.test.xml smoke.test.xml test.common.xml
Date Fri, 14 Sep 2007 06:22:10 GMT
Author: varlax
Date: Thu Sep 13 23:22:07 2007
New Revision: 575553

URL: http://svn.apache.org/viewvc?rev=575553&view=rev
Log:
Place error details into <failure> body, then CC will pick it up.

Modified:
    harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml
    harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml
    harmony/enhanced/drlvm/trunk/build/make/targets/test.common.xml

Modified: harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml?rev=575553&r1=575552&r2=575553&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml Thu Sep 13 23:22:07 2007
@@ -255,7 +255,8 @@
                     suite="${filename}"
                     status="${@{file}.status}"
                     out="${outputproperty}"
-                    msg="Exit code: ${resultproperty} Err: ${@{file}.msg}"/>
+                    msg="Exit code: ${resultproperty}"
+                    detail="Exit code: ${resultproperty} Err: ${@{file}.msg}"/>
                 
                 <if>
                     <istrue value="${@{file}.status}"/>

Modified: harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml?rev=575553&r1=575552&r2=575553&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml Thu Sep 13 23:22:07 2007
@@ -262,7 +262,8 @@
                             suite="${class.name}_${mode.id}" test="${mode.name}" 
                             status="${@{test}.is.passed}"
                             out="${@{test}.out}" err="${@{test}.err}" 
-                            msg="Exit code: ${res.code} Err: ${@{test}.msg}"/>
+                            msg="Exit code: ${res.code}"
+                            detail="Exit code: ${res.code} Err: ${@{test}.msg}"/>
 
                         <if>
                             <istrue value="${@{test}.is.passed}" />

Modified: harmony/enhanced/drlvm/trunk/build/make/targets/test.common.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/test.common.xml?rev=575553&r1=575552&r2=575553&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/test.common.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/test.common.xml Thu Sep 13 23:22:07 2007
@@ -158,6 +158,7 @@
         <attribute name="err" default="" description="test error"/>
         <attribute name="time" default="0.01" description="test execution time"/>
         <attribute name="msg" default="FAILED" description="error message"/>
+        <attribute name="detail" default="" description="error details or backtrace"/>
         <sequential>
             <echo file="@{xml}"><![CDATA[<?xml version="1.0" encoding="UTF-8"
?>
             <testsuite errors="0" failures="@F@" name="@SUITE@" tests="1" time="@TIME@">
@@ -169,7 +170,7 @@
             <condition property="@{xml}.failed" value="0" else="1">
                 <istrue value="@{status}"/>
             </condition>
-            <condition property="@{xml}.message" value="" else="&lt;failure message='@{msg}'/>">
+            <condition property="@{xml}.message" value="" else="&lt;failure message='@{msg}'>@{detail}&lt;/failure>">
                 <istrue value="@{status}"/>
             </condition>
             <condition property="@{xml}.out" value="]" else="@{out}]">



Mime
View raw message