ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1310196 - in /ant/core/trunk/src/tests/antunit: core/nested-text-test.xml taskdefs/exec/exec-test.xml
Date Fri, 06 Apr 2012 07:14:43 GMT
Author: bodewig
Date: Fri Apr  6 07:14:43 2012
New Revision: 1310196

URL: http://svn.apache.org/viewvc?rev=1310196&view=rev
Log:
try to debug test failures in Jenkins

Modified:
    ant/core/trunk/src/tests/antunit/core/nested-text-test.xml
    ant/core/trunk/src/tests/antunit/taskdefs/exec/exec-test.xml

Modified: ant/core/trunk/src/tests/antunit/core/nested-text-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/core/nested-text-test.xml?rev=1310196&r1=1310195&r2=1310196&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/core/nested-text-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/core/nested-text-test.xml Fri Apr  6 07:14:43 2012
@@ -33,6 +33,11 @@
   <!-- https://issues.apache.org/bugzilla/show_bug.cgi?id=46285 -->
   <target name="testNumericEntities">
     <echo>&#xe4;&#169;</echo>
+    <mkdir dir="${output}"/>
+    <concat destfile="${output}/log">
+      <au:logcontent/>
+    </concat>
+    <au:assertResourceContains value="ä©" resource="${output}/log"/>
     <au:assertLogContains text="ä©"/>
   </target>
 

Modified: ant/core/trunk/src/tests/antunit/taskdefs/exec/exec-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/exec/exec-test.xml?rev=1310196&r1=1310195&r2=1310196&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/exec/exec-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/exec/exec-test.xml Fri Apr  6 07:14:43 2012
@@ -658,7 +658,7 @@ public class Hello {
 }]]></echo>
       <mkdir dir="${output}"/>
       <javac srcdir="${input}" destdir="${output}"/>
-      <exec executable="java">
+      <exec executable="java" failonerror="true">
         <arg line="-cp ${output} org.example.CallHello"/>
       </exec>
       <au:assertLogContains text="finished"/>



Mime
View raw message