harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r503704 - /harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml
Date Mon, 05 Feb 2007 14:45:08 GMT
Author: smishura
Date: Mon Feb  5 06:45:07 2007
New Revision: 503704

URL: http://svn.apache.org/viewvc?view=rev&rev=503704
Log:
Apply patch for HARMONY-3119:
[drlvm][smoke.tests] report files in xml format should be more 'junit-like'

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

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?view=diff&rev=503704&r1=503703&r2=503704
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/smoke.test.xml Mon Feb  5 06:45:07 2007
@@ -293,28 +293,28 @@
                                 <echo message=" PASSED : ${class.name}" />
 
                                 <!-- create xml-file with test's results -->
-<echo file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"><![CDATA[<?xml
version="1.0" encoding="UTF-8" ?>
+<echo file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"><![CDATA[<?xml
version="1.0" encoding="UTF-8" ?>
 <testsuite errors="0" failures="0" name="@@@@@" tests="1" time="0.01">
 <testcase classname="@@@@@" name="test" time="0.1"/>
 <system-out><![CDATA[@out]!]></system-out>
 <system-err><![CDATA[@err]!]></system-err>
 </testsuite>]]> 
 </echo>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@@@@@" value="${class.name}_${jit.or.interpreter}" /> 
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@@@@@" value="${class.name}_${jit.or.interpreter}" /> 
                             </then>
                             <else>
                                 <echo message="*** FAILED **** : ${class.name}" />
                                 <echo message="*** FAILED **** : ${class.name} on ${jit.or.interpreter}${line.separator}"
file="${build.semi.dir}/smoke.test.failed" append="true"/>
 
                                 <!-- create xml-file with test's results -->
-<echo file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"><![CDATA[<?xml
version="1.0" encoding="UTF-8" ?>
+<echo file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"><![CDATA[<?xml
version="1.0" encoding="UTF-8" ?>
 <testsuite errors="0" failures="1" name="@@@@@" tests="1" time="0.01">
 <testcase classname="@@@@@" name="test" time="0.1"><error message="FAILED"/></testcase>
 <system-out><![CDATA[@out]!]></system-out>
 <system-err><![CDATA[@err]!]></system-err>
 </testsuite>]]> 
 </echo>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@@@@@" value="${class.name}_${jit.or.interpreter}" /> 
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@@@@@" value="${class.name}_${jit.or.interpreter}" /> 
                             </else>
                         </if>
 
@@ -323,10 +323,10 @@
                         <if>
                             <isset property="@{test}.tmp.out" />
                             <then>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@out]!" value="${@{test}.tmp.out}]" />
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@out]!" value="${@{test}.tmp.out}]" />
                             </then>
                             <else>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@out]!" value="]" />
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@out]!" value="]" />
                             </else>
                         </if>
                         
@@ -335,10 +335,10 @@
                         <if>
                             <isset property="@{test}.tmp.err" />
                             <then>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@err]!" value="${@{test}.tmp.err}]" />
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@err]!" value="${@{test}.tmp.err}]" />
                             </then>
                             <else>
-                                <replace file="${build.dir}/_smoke.tests/reports/${class.name}_${jit.or.interpreter}.xml"
token="@err]!" value="]" />
+                                <replace file="${build.dir}/_smoke.tests/reports/TEST-${class.name}_${jit.or.interpreter}.xml"
token="@err]!" value="]" />
                             </else>
                         </if>
 



Mime
View raw message