harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r504011 - /harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml
Date Tue, 06 Feb 2007 06:56:37 GMT
Author: smishura
Date: Mon Feb  5 22:56:36 2007
New Revision: 504011

URL: http://svn.apache.org/viewvc?view=rev&rev=504011
Log:
Apply additional pacth for HARMONY-3009:
[drlvm][testing] generation of results of cunit test run in html view

Modified:
    harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.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?view=diff&rev=504011&r1=504010&r2=504011
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/cunit.test.xml Mon Feb  5 22:56:36 2007
@@ -187,7 +187,7 @@
                         <echo message="## TEST FAILED" />
                         <echo file="${build.semi.dir}/cunit.test.failed" message="${filename}
FAILED${line.separator}" append="true"/>
 
-<echo file="${unit.test.c.workdir}/report/${filename}.xml"><![CDATA[<?xml version="1.0"
encoding="UTF-8" ?>
+<echo file="${unit.test.c.workdir}/report/TEST-${filename}.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>
@@ -197,7 +197,7 @@
                     </then>
                     <else>
                         <echo message="## TEST PASSED" />
-<echo file="${unit.test.c.workdir}/report/${filename}.xml"><![CDATA[<?xml version="1.0"
encoding="UTF-8" ?>
+<echo file="${unit.test.c.workdir}/report/TEST-${filename}.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"></testcase>
 <system-out><![CDATA[@out]!]></system-out>
@@ -205,15 +205,15 @@
 </echo>
                     </else>
                 </if>
-                <replace file="${unit.test.c.workdir}/report/${filename}.xml" token="@@@@@"
value="${filename}" /> 
+                <replace file="${unit.test.c.workdir}/report/TEST-${filename}.xml" token="@@@@@"
value="${filename}" /> 
                 <!-- grab System.out to xml-file -->
                 <if>
                     <isset property="outputproperty" />
                     <then>
-                        <replace file="${unit.test.c.workdir}/report/${filename}.xml"
token="@out]!" value="${outputproperty}]" />
+                        <replace file="${unit.test.c.workdir}/report/TEST-${filename}.xml"
token="@out]!" value="${outputproperty}]" />
                     </then>
                     <else>
-                        <replace file="${unit.test.c.workdir}/report/${filename}.xml"
token="@out]!" value="]" />
+                        <replace file="${unit.test.c.workdir}/report/TEST-${filename}.xml"
token="@out]!" value="]" />
                     </else>
                 </if>
             </sequential>



Mime
View raw message