On 11/20/2012 7:17 PM, Jaroslav Tulach wrote:
Dne Pá 16. listopadu 2012 18:00:45, Alexander Scherbatiy napsal(a):
  It is a good idea to add an automated test but it can be possible
if there are known steps which reproduce the issue.
Hello Alexander,
I am trying to create the test. I've got jdk8-b65 sources, built them and then
I tried to run the JTree tests. But they are failing!

/src/jdk8/jdk/test$ jtreg -jdk:src/jdk8/build/linux-i586/j2sdk-image/
javax/swing/JTree
Test results: passed: 3; failed: 2
That is strange. All 5 JTree tests (1 manual and 4 automated) passes on my Ubuntu with the built jdk 8.

Could you send the the log of the failed tests (JTwork/javax/swing/JTree/bugid/*.jtr files)? Note that a user should not move the mouse during tests execution. It can fail the tests.

What should I do? Just ignore the two failing tests and add my own anyway?
The requirement is that all passed tests before a fix should also pass after the fix.

     Thanks,
     Alexandr.

-jt


PS: My version of jtreg maybe a bit outdated, if that matters:

/src/jdk8/jdk/test$ jtreg -jdk:/src/jdk8/build/linux-i586/j2sdk-image/ -
version
jtreg, version 4.1 fcs b03
Installed in /bin/jtreg.dir/lib/jtreg.jar
Running on platform version 1.8.0-internal from /src/jdk8/build/linux-
i586/j2sdk-image/jre.
Built with Java(TM) 2 SDK, Version 1.5.0-b64 on July 11, 2011.
Copyright 2008 Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.


Reply via email to