ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: still one test failing in ant 1.6 : ModifiedSelectorTest
Date Tue, 30 Sep 2003 09:09:43 GMT
Sorry, I can´t - because I don´t get this error.
All tests pass on my machine. On JDK 1.2 and 1.4 (Win2000)

And I can only (try to) fix errors which occur ...



Jan



Classic VM (build JDK-1.2.1_004, native threads)
================================================
ant>build
  ... Bootstrapping Ant Distribution
  JAVA_HOME=c:\seu\jdk121_04
  JAVA=c:\seu\jdk121_04\bin\java
  JAVAC=c:\seu\jdk121_04\bin\javac
  ...
ant>ant test -Dtest.haltonfailure=false
  ...
  run-which:
    [which] java.version=1.2.1
  run-tests:
    ...
    Testcase:
testVector(org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest):
FAILED
    void <init>()
    junit.framework.AssertionFailedError: void <init>()
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Compiled Code)
        at
org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest.assertHasMethod
(Compiled Code)
        at
org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest.testVector(Clas
sFileTest.java:83)
    ...
    Testsuite: org.apache.tools.ant.types.selectors.ModifiedSelectorTest
    Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 10,075 sec



Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
========================================================
ant>build.bat
  ... Bootstrapping Ant Distribution
  JAVA_HOME=c:\seu\jdk142
  JAVA=c:\seu\jdk142\bin\java
  JAVAC=c:\seu\jdk142\bin\javac
  ...
ant>ant test -Dtest.haltonfailure=false
  ...
  [which] java.version=1.4.2
  ...
  Testcase:
testRecreateWithUpdateNewerFile(org.apache.tools.ant.taskdefs.JarTest):
FAILED
  jar has been recreated in testRecreateWithUpdateNewerFile
  junit.framework.AssertionFailedError: jar has been recreated in
testRecreateWithUpdateNewerFile
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at
org.apache.tools.ant.taskdefs.JarTest.testRecreate(JarTest.java:171)
      at
org.apache.tools.ant.taskdefs.JarTest.testRecreateWithUpdateNewerFile(JarTes
t.java:157)
  ...
  Testsuite: org.apache.tools.ant.types.selectors.ModifiedSelectorTest
  Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 8,472 sec
  ...


> -----Original Message-----
> From: Antoine Lévy-Lambert [mailto:antoine@antbuild.com]
> Sent: Tuesday, September 30, 2003 10:18 AM
> To: Ant Developers List
> Subject: still one test failing in ant 1.6 : ModifiedSelectorTest
> 
> 
> Jan, could you try to fix this ?
> Maybe there is a timing issue there.
> I am running the test on Windows2000.
> I get the same failure within cygwin and running the test in 
> the JunitTest
> runner of IDEA.
> Cheers,
> Antoine
> 
>     [junit] Testsuite:
> org.apache.tools.ant.types.selectors.ModifiedSelectorTest
>     [junit] Tests run: 22, Failures: 3, Errors: 0, Time 
> elapsed: 7,171 sec
> 
>     [junit] Testcase:
> testScenarioCoreSelectorDefaults(org.apache.tools.ant.types.se
> lectors.Modifi
> edSelectorTest):	FAILED
>     [junit] Too much files copied on second time.
>     [junit] junit.framework.AssertionFailedError: Too much 
> files copied on
> second time.
>     [junit] 	at junit.framework.Assert.fail(Assert.java:47)
>     [junit] 	at junit.framework.Assert.assertTrue(Assert.java:20)
>     [junit] 	at
> org.apache.tools.ant.types.selectors.ModifiedSelectorTest.doSc
> enarioTest(Mod
> ifiedSelectorTest.java:536)
>     [junit] 	at
> org.apache.tools.ant.types.selectors.ModifiedSelectorTest.test
> ScenarioCoreSe
> lectorDefaults(ModifiedSelectorTest.java:503)
> ...............
> 
> 
>     [junit] Testcase:
> testSceanrioCoreSelectorSettings(org.apache.tools.ant.types.se
> lectors.Modifi
> edSelectorTest):	FAILED
>     [junit] Too much files copied on second time.
>     [junit] junit.framework.AssertionFailedError: Too much 
> files copied on
> second time.
> 
>     [junit] Testcase:
> testScenarioCustomSelectorSettings(org.apache.tools.ant.types.
> selectors.Modi
> fiedSelectorTest):	FAILED
>     [junit] Too much files copied on second time.
>     [junit] junit.framework.AssertionFailedError: Too much 
> files copied on
> second time.
> 
> 
>     [junit] TEST 
> org.apache.tools.ant.types.selectors.ModifiedSelectorTest
> FAILED
>     [junit] Testsuite:
> org.apache.tools.ant.types.selectors.PresentSelectorTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time 
> elapsed: 7,371 sec
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message