harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r575575 - /harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml
Date Fri, 14 Sep 2007 08:10:00 GMT
Author: smishura
Date: Fri Sep 14 01:09:56 2007
New Revision: 575575

URL: http://svn.apache.org/viewvc?rev=575575&view=rev
Log:
Formatting

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml?rev=575575&r1=575574&r2=575575&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/dacapo/adaptor.xml Fri Sep 14 01:09:56
2007
@@ -18,10 +18,10 @@
 <project name="dacapo" default="run" basedir=".">
 
     <property environment="env"/>
-    
+
     <property name="work.dir" location="${results.dir}/${suite.name}"/>
     <property name="output.log" value="${work.dir}/${suite.name}_output.txt"/>
-    
+
     <target name="setup">
         <description>${suite.name} setup</description>
         <mkdir dir="${work.dir}"/>
@@ -51,26 +51,33 @@
 
     <target name="run">
         <description>${suite.name} run</description>
-        
+
         <echo file="${output.log}" message="Running of ${dacapo.parameters.optional.jar.name}
on ${dacapo.jdk.to.test.home} runtime...${line.separator}"/>
         <echo file="${output.log}" message="Set of tests: ${dacapo.parameters.optional.benchmarks}${line.separator}"
append="true"/>
         <echo file="${results.dir}/${suite.name}/stdout.log" message=""/>
 
         <!-- get version info from runtime to attach it to report -->
-        <echo file="${results.dir}/${suite.name}/version.log"></echo>
+        <echo file="${results.dir}/${suite.name}/version.log">
+        </echo>
         <exec executable="${dacapo.jdk.to.test.home}/bin/java" dir="${results.dir}/${suite.name}"
failonerror="false">
             <arg line="-version"/>
             <redirector alwaysLog="true" output="${results.dir}/${suite.name}/version.log"/>
         </exec>
 
-        <exec executable="${dacapo.jdk.to.test.home}/bin/java" dir="${results.dir}/${suite.name}"
append="true" failonerror="false" error="${output.log}">
-            <arg line="-Xbootclasspath/p:${checkouts.dir}/${suite.name}/xalan.jar${path.separator}${checkouts.dir}/${suite.name}"/>
-            <arg line="-jar ${checkouts.dir}/${suite.name}/${dacapo.parameters.optional.jar.name}"/>
-            <arg line="-s ${dacapo.parameters.optional.size}"/>
-            <arg line="${dacapo.parameters.optional.benchmarks}"/>
-            <redirector alwaysLog="true" output="${results.dir}/${suite.name}/stdout.log"/>
-            <env key="JAVA_HOME" value="${dacapo.jdk.to.test.home}"/>
-            <env key="PATH" value="${dacapo.jdk.to.test.home}/bin${path.separator}${env.PATH}"/>
+        <exec executable="${dacapo.jdk.to.test.home}/bin/java"
+              dir="${results.dir}/${suite.name}"
+              append="true"
+              failonerror="false"
+              error="${output.log}">
+            <arg line="-Xbootclasspath/p:${checkouts.dir}/${suite.name}/xalan.jar${path.separator}${checkouts.dir}/${suite.name}"
/>
+            <arg line="-jar ${checkouts.dir}/${suite.name}/${dacapo.parameters.optional.jar.name}"
/>
+            <arg line="-s ${dacapo.parameters.optional.size}" />
+            <arg line="${dacapo.parameters.optional.benchmarks}" />
+            <redirector alwaysLog="true"
+                        output="${results.dir}/${suite.name}/stdout.log" />
+            <env key="JAVA_HOME" value="${dacapo.jdk.to.test.home}" />
+            <env key="PATH"
+                 value="${dacapo.jdk.to.test.home}/bin${path.separator}${env.PATH}" />
         </exec>
 
         <!-- count "number" of requested workloads -->
@@ -83,7 +90,7 @@
             </filterchain>
         </loadfile>
 
-        <!-- count "number" of executed workloads -->        
+        <!-- count "number" of executed workloads -->
         <copy file="${output.log}" tofile="${work.dir}/dacapo_runned_tests.tmp" overwrite="true"
failonerror="false">
             <filterchain>
                 <linecontainsregexp>
@@ -99,7 +106,7 @@
 
         <echo>Number of tests: (${number.of.tests})</echo>
         <echo>N of runned tests(${number.of.runned.tests})</echo>
-        
+
         <fail message="Not all workloads completed successfully">
             <condition>
                 <not>
@@ -107,7 +114,7 @@
                 </not>
             </condition>
         </fail>
-        
+
     </target>
 
     <target name="clean">



Mime
View raw message