Looks like junit.jar is in the optional directory but is expected to be in the core directory by the test...I guess stuff is currently getting moved around?Sorry, I'll look around more before I post next time. --- Frank Wierzbicki <[EMAIL PROTECTED]> wrote: > Hi, > > I'm running on Windows 2000 with cygwin, and when I run the junit tests for > ant > (the latest from CVS), CommandLineJavaTest fails: I'm going to look and see > if > I can figure out why, but I thought someone here might figure it out faster > than me. > > Thanks. > > Here's the output: > > Testsuite: org.apache.tools.ant.types.CommandlineJavaTest > Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.01 sec > Testcase: testGetCommandline took 0.01 sec > FAILED > junit.jar contained > junit.framework.AssertionFailedError: junit.jar contained > at junit.framework.Assert.fail(Assert.java:143) > at junit.framework.Assert.assert(Assert.java:19) > at > org.apache.tools.ant.types.CommandlineJavaTest.testGetCommandline(CommandlineJavaTest.jav > a:103) > at java.lang.reflect.Method.invoke(Native Method) > at junit.framework.TestCase.runTest(TestCase.java:155) > at junit.framework.TestCase.runBare(TestCase.java:129) > at junit.framework.TestResult$1.protect(TestResult.java:100) > at junit.framework.TestResult.runProtected(TestResult.java:117) > at junit.framework.TestResult.run(TestResult.java:103) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.run(TestSuite.java:144) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:202 > ) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:263) > at org.apache.tools.ant.Target.execute(Target.java:153) > at org.apache.tools.ant.Project.runTarget(Project.java:898) > at org.apache.tools.ant.Project.executeTarget(Project.java:536) > at org.apache.tools.ant.Project.executeTargets(Project.java:510) > at org.apache.tools.ant.Main.runBuild(Main.java:426) > at org.apache.tools.ant.Main.main(Main.java:154) > > BUILD FAILED > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ >
__________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
