harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r749581 - /harmony/enhanced/classlib/trunk/make/build-test.xml
Date Tue, 03 Mar 2009 11:25:55 GMT
Author: odeakin
Date: Tue Mar  3 11:25:55 2009
New Revision: 749581

URL: http://svn.apache.org/viewvc?rev=749581&view=rev
Log:
Ensure test crash file is in UTF-8 for non-ASCII platforms (a better way to do this would
be to <echo...> and <replaceregexp...> specifying the encoding, but echo encoding
is only available in Ant 1.7, so for now just use copy to encode the file).

Modified:
    harmony/enhanced/classlib/trunk/make/build-test.xml

Modified: harmony/enhanced/classlib/trunk/make/build-test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-test.xml?rev=749581&r1=749580&r2=749581&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-test.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-test.xml Tue Mar  3 11:25:55 2009
@@ -298,6 +298,14 @@
 
        <!-- now let's delete empty reports -->
        <delete><fileset refid="empty.test.reports"/></delete>
+
+       <!-- Need to ensure the file is UTF-8 on non-ASCII platforms -->
+        <move file="${per.crashed.tests.file}"
+              tofile="${per.crashed.tests.file}.orig" />
+        <copy file="${per.crashed.tests.file}.orig"
+              tofile="${per.crashed.tests.file}" outputencoding="UTF-8" />
+        <delete file="${per.crashed.tests.file}.orig" />
+
     </target>
 
 </project>



Mime
View raw message