<Swing Dev> <AWT Dev> RFR(L): 8159690: [TESTBUG] Mark headful tests with @key headful.
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Fri Jun 17 08:42:44 UTC 2016
Hi Alexandr,
> What is a number of tests which passe in headless mode?
Do you mean you want to know wheter there are awt/swing tests that are
passing in headless mode and if yes, how many?
javax/swing: 223 passing
sun/java2d: 34 passing
java/awt: 312 pasing
> I would expect that an ordinary client test which use Frame and
> fails in headless mode does not require a special key by default.
You mean the jtreg runner somehow finds out that the failure is
caused by running headless, after having the test executed? I
don't think that's possible.
Or do you exclude these tests by another mechanism?
I did this change following the pattern of
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/1cce0248f3e1
https://bugs.openjdk.java.net/browse/JDK-8081547
Best regards,
Goetz.
> -----Original Message-----
> From: Alexandr Scherbatiy [mailto:alexandr.scherbatiy at oracle.com]
> Sent: Donnerstag, 16. Juni 2016 17:56
> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; swing-
> dev at openjdk.java.net; awt-dev at openjdk.java.net
> Subject: Re: <AWT Dev> RFR(L): 8159690: [TESTBUG] Mark headful tests with
> @key headful.
>
> On 6/16/2016 5:40 PM, Lindenmaier, Goetz wrote:
>
>
> Hi,
>
>
>
> we have test machines without X server. On these many of the jdk
>
> jtreg tests fail with a headless exception.
>
> We grepped for this exception in the test output and identified
>
> about 450 tests.
>
>
>
> In these tests, we added with another script "@key headful".
>
> What is a number of tests which passe in headless mode?
>
> I would expect that an ordinary client test which use Frame and fails in
> headless mode does not require a special key by default.
>
> Thanks,
> Alexandr.
>
>
>
>
>
> So that the script generates better output, I adapted the
>
> formatting of some of the test descriptions.
>
> see also the text in the webrev, where I posted some incremental
> diffs
>
> of the changes I more or less edited by hand. I hope this eases
>
> reviewing :)
>
>
>
> Last, I updated the Copyrights with the script by Coleen.
>
>
>
> Please review this change.
>
> <http://cr.openjdk.java.net/%7Egoetz/wr16/8159690-
> headful/webrev.01/> http://cr.openjdk.java.net/~goetz/wr16/8159690-
> headful/webrev.01/
>
>
>
> Best regards,
>
> Goetz.
>
>
>
>
>
More information about the swing-dev
mailing list