<Swing Dev> <AWT Dev> [10] Review Request: 8196196 Headful tests should not be run in headless mode
Phil Race
philip.race at oracle.com
Tue Jan 30 19:57:32 UTC 2018
You added @headful to BadDisplayTest, but also added this logic - why ?
public class BadDisplayTest{
public static void main(String[] args) {
+ if (Boolean.getBoolean("java.awt.headless")) {
+ return;
+ }
-phil.
On 01/30/2018 11:47 AM, Sergey Bylokhov wrote:
> Hello.
> Please review small test cleanup for jdk11.
>
> - "@key headful" was added to some tests which requires
> DISPLAY/xorg/gtk/gnome etc.
> - Some swing tests were updated to skip unsupported look and feels,
> for example GTK LookAndFeel can be installed(bundled) but is not
> necessary supported.
>
> The final goal of this and some other future fixes is to run all
> non-headfull tests in parallel and speedup the tests execution.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8196196
> Webrev can be found at:
> http://cr.openjdk.java.net/~serb/8196196/webrev.02/
>
>
More information about the swing-dev
mailing list