[jboss-svn-commits] JBL Code SVN: r34903 - labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 26 11:04:10 EDT 2010
Author: whitingjr
Date: 2010-08-26 11:04:09 -0400 (Thu, 26 Aug 2010)
New Revision: 34903
Modified:
labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml
Log:
Changed tasks to detect if the benchmark did not complete.
Modified: labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml 2010-08-26 14:57:19 UTC (rev 34902)
+++ labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml 2010-08-26 15:04:09 UTC (rev 34903)
@@ -196,10 +196,18 @@
<target name="generate-submission" depends="submission-preparation">
<echo>Checking success of the benchmark run.</echo>
- <xmltask source="${spec.install.dir}/output/${org.spec.internal.runId}/specjms-result.xml">
- <copy path="/specjms-result/test/@result" property="benchmark.run.pass" attrValue="true"/>
- </xmltask>
-
+ <if>
+ <available file="${spec.install.dir}/output/${org.spec.internal.runId}/specjms-result.xml"/>
+ <then>
+ <xmltask source="${spec.install.dir}/output/${org.spec.internal.runId}/specjms-result.xml">
+ <copy path="/specjms-result/test/@result" property="benchmark.run.pass" attrValue="true"/>
+ </xmltask>
+ </then>
+ <else>
+ <property name="benchmark.run.pass" value="false"/>
+ </else>
+ </if>
+
<echo>Status of run was: ${benchmark.run.pass}</echo>
<antcall target="generate-submission-report"/>
@@ -220,9 +228,6 @@
<fileset dir="${spec.install.dir}/submission"/>
</copy>
</then>
- <else>
- <xslt style="${basedir}/../src/main/resources/xsl/failed-run-problem-iteration-sorter.xsl" in="${spec.install.dir}/output/${org.spec.internal.runId}/interaction.measurement.xml" out="${spec.install.dir}/output/${org.spec.internal.runId}/sorted-interaction.measurement.xml"/>
- </else>
</if>
</target>
More information about the jboss-svn-commits
mailing list