DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23150

JUnitTask does not mark timed out tests as failed when forked





------- Additional Comments From [EMAIL PROTECTED]  2003-09-15 15:14 -------
I'm running Debian/stable, but with the Ant package pulled in off of testing
(this happens even if I download the package though).  

Libc is: 2.2.5-11.5 

Java is:
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxia32141-20030522 (JIT enabled:
jitc))

I'm not sure I understand the two parts of your second request.  I get
the expected errors when my code throws:

Test2.java:
import junit.framework.TestCase;
public class Test2 extends TestCase {
  public Test2(String name) { super(name); }
  public void testFoo() throws Exception {
    throw new RuntimeException("hi");
  }
}

results in:~/quux $ant
Buildfile: build.xml

all:
    [junit] Running Test2
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.154 sec

BUILD FAILED
file:/permabit/user/daveg/quux/build.xml:4: Test Test2 failed

I'd be happy to run other tests, I just don't understand which you're
asking for.

Thanks for your assistance,
Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to