Differences between revisions 17 and 18
Revision 17 as of 2006-11-02 06:18:27
Size: 4354
Editor: Tony
Comment:
Revision 18 as of 2009-09-20 21:54:45
Size: 4362
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
||Harmony||winxp sp2||IBM||454653||1125||[http://www.harmonytest.org/testapp.do?method=showrun&id=30&name=&result=2&jira=0 15]||[http://www.harmonytest.org/testapp.do?method=showrun&id=30&name=&result=3&jira=0 17]||97.16%||301.393||
||Harmony||winxp sp2||DRL||454653||1125||[http://www.harmonytest.org/testapp.do?method=showrun&id=35&name=&result=2&jira=0 15]||[http://www.harmonytest.org/testapp.do?method=showrun&id=35&name=&result=3&jira=0 20]||96.89%||356.296||
||Harmony||winxp sp2||IBM||454653||1125||[[http://www.harmonytest.org/testapp.do?method=showrun&id=30&name=&result=2&jira=0|15]]||[[http://www.harmonytest.org/testapp.do?method=showrun&id=30&name=&result=3&jira=0|17]]||97.16%||301.393||
||Harmony||winxp sp2||DRL||454653||1125||[[http://www.harmonytest.org/testapp.do?method=showrun&id=35&name=&result=2&jira=0|15]]||[[http://www.harmonytest.org/testapp.do?method=showrun&id=35&name=&result=3&jira=0|20]]||96.89%||356.296||

I checked out the source code from http://svn.apache.org/repos/asf/ant/core/tags/ANT_165/ and tried to run its testcases on winXP. The result is posted as follows,

How to run ant test on harmony jdk

  • Download source code.
  • copy tools.jar and javac.exe to the corresponding locationg of HDK
  • modify the build.xml to
    • set the property test.haltonfailure to "no".
    • add the tools.jar to classpath for testing javac task.
    • fork a harmony jvm when run junit task.
    • change the result format from plain to xml.
    • add a target for generating html report.
  • set JAVA_HOME to HDK
  • run test
    • RI5.0\bin\java -cp $ANT_HOME\lib\ant-launcher.jar org.apache.tools.ant.launch.Launcher test

Results, Click the number for detail

ClassLib

OS

VM

SVN reversion

Tests

Failures

Errors

Success

Time(s)

RI1.5.07

winxp sp2

NA

NA

1085

0

1

99.91%

340.703

Harmony

winxp sp2

IBM

454653

1125

15

17

97.16%

301.393

Harmony

winxp sp2

DRL

454653

1125

15

20

96.89%

356.296

Debug on IBM VME

Failures

org.apache.tools.ant.AntClassLoaderDelegationTest@testFindResources

RI may fail too, caused by duplicate lib

org.apache.tools.ant.LoaderRefTest@testBadRef

Javac Related

org.apache.tools.ant.taskdefs.AvailableTest@test21

JDK path

org.apache.tools.ant.taskdefs.ExecuteWatchdogTest@testFailed

return value of java.exe

org.apache.tools.ant.taskdefs.JavaTest@testExceptingFoeFork

JDK path

org.apache.tools.ant.taskdefs.JavaTest@testExceptingFork

different log message

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testEmptySource

BuildException

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testNoSource

BuildException

org.apache.tools.ant.types.AssertionsTest@testClassname

BuildException

org.apache.tools.ant.types.AssertionsTest@testMultipleAssertions

BuildException

org.apache.tools.ant.types.AssertionsTest@testOverride

BuildException

org.apache.tools.ant.types.AssertionsTest@testPackage

BuildException

org.apache.tools.ant.types.AssertionsTest@testReferenceAbuse

BuildException

org.apache.tools.ant.util.ClasspathUtilsTest@testOnlyOneInstance

should be only one default.properties in classpath

org.apache.tools.ant.util.JavaEnvUtilsTest@testGetExecutableWindows

null expected:<[]javac.exe> but was:<[C:\workspace\harmony\deploy\jdk\jre\bin\]javac.exe>

Errors

org.apache.tools.ant.TaskContainerTest@testTaskdef

Javac Related

org.apache.tools.ant.taskdefs.AvailableTest@test24

Javac Related

org.apache.tools.ant.taskdefs.FixCrLfTest@testEncoding

UnicodeBig

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testCache

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testClosure

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testDirect

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testInner

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testInnerClosure

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testInnerInner

Javac Related

org.apache.tools.ant.taskdefs.optional.depend.DependTest@testNonPublic

Javac Related

org.apache.tools.ant.taskdefs.SignJarTest@testURLKeystoreHTTP

RI fail

org.apache.tools.ant.taskdefs.TouchTest@testBadPattern

different message in Exception

org.apache.tools.ant.taskdefs.UnzipTest@testEncoding

UnicodeBig

org.apache.tools.ant.types.AssertionsTest@testDisable

Javac Related

org.apache.tools.ant.types.AssertionsTest@testEmptyAssertions

Javac Related

org.apache.tools.ant.types.AssertionsTest@testNofork

Javac Related

org.apache.tools.ant.types.AssertionsTest@testOverride2

Javac Related

Apache_Ant (last edited 2009-09-20 21:54:45 by localhost)