From c9f6850f4cde57dde9961c6d2cbb0712da91a79a Mon Sep 17 00:00:00 2001 From: Alexey Ushakov Date: Mon, 16 Dec 2024 18:41:52 +0100 Subject: [PATCH] JBR-7990 Vulkan: Robot pixel grabbing for Vulkan surfaces Limited platform for tests --- test/jdk/jb/java/awt/wayland/RobotGetOOBPixelsTest.java | 1 + test/jdk/jb/java/awt/wayland/RobotGetPixelTest.java | 1 + test/jdk/jb/java/awt/wayland/RobotGetPixelsTest.java | 1 + 3 files changed, 3 insertions(+) diff --git a/test/jdk/jb/java/awt/wayland/RobotGetOOBPixelsTest.java b/test/jdk/jb/java/awt/wayland/RobotGetOOBPixelsTest.java index 64e8e645be7e..ac48359d4572 100644 --- a/test/jdk/jb/java/awt/wayland/RobotGetOOBPixelsTest.java +++ b/test/jdk/jb/java/awt/wayland/RobotGetOOBPixelsTest.java @@ -30,6 +30,7 @@ /* * @test + * @requires os.family == "linux" * @summary Verifies that robot correctly pick color * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=True RobotGetOOBPixelsTest * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=False RobotGetOOBPixelsTest diff --git a/test/jdk/jb/java/awt/wayland/RobotGetPixelTest.java b/test/jdk/jb/java/awt/wayland/RobotGetPixelTest.java index e5d855a477fe..6873e8e0fb4d 100644 --- a/test/jdk/jb/java/awt/wayland/RobotGetPixelTest.java +++ b/test/jdk/jb/java/awt/wayland/RobotGetPixelTest.java @@ -29,6 +29,7 @@ /* * @test + * @requires os.family == "linux" * @summary Verifies that robot correctly pick color * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=True RobotGetPixelTest * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=False RobotGetPixelTest diff --git a/test/jdk/jb/java/awt/wayland/RobotGetPixelsTest.java b/test/jdk/jb/java/awt/wayland/RobotGetPixelsTest.java index f9261abf1db6..064ba6e6f83f 100644 --- a/test/jdk/jb/java/awt/wayland/RobotGetPixelsTest.java +++ b/test/jdk/jb/java/awt/wayland/RobotGetPixelsTest.java @@ -31,6 +31,7 @@ /* * @test + * @requires os.family == "linux" * @summary Verifies that robot correctly pick color * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=True RobotGetPixelsTest * @run main/othervm -Dawt.toolkit.name=WLToolkit -Dsun.java2d.vulkan=False RobotGetPixelsTest