Browse Source

try to debug test failures in Jenkins

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1310196 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
da0a9ef6d5
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      src/tests/antunit/core/nested-text-test.xml
  2. +1
    -1
      src/tests/antunit/taskdefs/exec/exec-test.xml

+ 5
- 0
src/tests/antunit/core/nested-text-test.xml View File

@@ -33,6 +33,11 @@
<!-- https://issues.apache.org/bugzilla/show_bug.cgi?id=46285 --> <!-- https://issues.apache.org/bugzilla/show_bug.cgi?id=46285 -->
<target name="testNumericEntities"> <target name="testNumericEntities">
<echo>&#xe4;&#169;</echo> <echo>&#xe4;&#169;</echo>
<mkdir dir="${output}"/>
<concat destfile="${output}/log">
<au:logcontent/>
</concat>
<au:assertResourceContains value="ä©" resource="${output}/log"/>
<au:assertLogContains text="ä©"/> <au:assertLogContains text="ä©"/>
</target> </target>




+ 1
- 1
src/tests/antunit/taskdefs/exec/exec-test.xml View File

@@ -658,7 +658,7 @@ public class Hello {
}]]></echo> }]]></echo>
<mkdir dir="${output}"/> <mkdir dir="${output}"/>
<javac srcdir="${input}" destdir="${output}"/> <javac srcdir="${input}" destdir="${output}"/>
<exec executable="java">
<exec executable="java" failonerror="true">
<arg line="-cp ${output} org.example.CallHello"/> <arg line="-cp ${output} org.example.CallHello"/>
</exec> </exec>
<au:assertLogContains text="finished"/> <au:assertLogContains text="finished"/>


Loading…
Cancel
Save