Hi Mark, I've run RobotTest dozen of times both on J9 and DRLVM (Windows & Linux 32 bit variants). I can say that the pass rate on IBM VME and on DRLVM is about the same. I guess that the real reason why it fails on your machine is because you touch the mouse during the test run. Don't you? :) In the perfect world you shouldn't touch anything while awt & swing tests are running, especially RobotTest. I understand that this is hardly achievable if you run tests on your development workstation. I've fixed some delays in RobotTest at r518070. Hope this helps.
BTW if you have enough power could you please update CC at hursley.ibm.com and add -Dexclude.interm=true? We have agreed (see for example "[classlib][testing] what is default behavior for intermittently failed tests exclude lists" thread) that CC should not run intermittent tests. Just to avoid broadcasting of false alarms. Thanks, 2007/3/13, Mark Hindess <[EMAIL PROTECTED]>:
This test fails every time for me (linux/x86/ibm) so can we move it back to an exclude list that is used by default please. -Mark. Failures are: testKeyPress Failure button has focus junit.framework.AssertionFailedError: button has focus at java.awt.RobotTest.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyPress(RobotTest.java:284) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) testKeyRelease Failure button has focus junit.framework.AssertionFailedError: button has focus at java.awt.RobotTest.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyRelease(RobotTest.java:321) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25 ) testMouseWheel Failure N/A junit.framework.AssertionFailedError at java.awt.RobotTest.testMouseWheel(RobotTest.java:432) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) On 13 March 2007 at 10:25, [EMAIL PROTECTED] wrote: > Author: ayza > Date: Tue Mar 13 03:25:49 2007 > New Revision: 517631 > > URL: http://svn.apache.org/viewvc?view=rev&rev=517631 > Log: > Moving java.awt.RobotTest from common exclude list to common intermittent exc > lude list. > > Added: > harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm (with p > rops) > Modified: > harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common > > Modified: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt > /make/exclude.common?view=diff&rev=517631&r1=517630&r2=517631 > ============================================================================= > = > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common (original > ) > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common Tue Mar 1 > 3 03:25:49 2007 > @@ -12,9 +12,6 @@ > java/awt/FlowLayoutTest.java > java/awt/GridBagLayoutTest.java > java/awt/GridLayoutTest.java > -# intermittent failure, seems RobotTest depends on > -# whether mouse or keyboard were touched during the test > -java/awt/RobotTest.java > java/awt/WindowRTest.java > java/awt/datatransfer/ClipboardTest.java > java/awt/BorderLayoutTest.java > > Added: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt > /make/exclude.interm?view=auto&rev=517631 > ============================================================================= > = > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm (added) > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm Tue Mar 1 > 3 03:25:49 2007 > @@ -0,0 +1,3 @@ > +# intermittent failure, seems RobotTest depends on > +# whether mouse or keyboard were touched during the test > +java/awt/RobotTest.java > > Propchange: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm > ----------------------------------------------------------------------------- > - > svn:eol-style = native
-- Alexei Zakharov, Intel ESSD
