Should this test work on Solaris as well?

On 26.10.16 10:19, Prasanta Sadhukhan wrote:
Hi All,

Please review a simple fix for splasscreen testissue where we need to
restrict this test from running on linux as this test uses linux
enviroment variable GDK_SCALE so
restricting to run only on linux.

Bug: https://bugs.openjdk.java.net/browse/JDK-8168657

diff -r aae3690e53e3
test/java/awt/SplashScreen/MultiResolutionSplash/unix/UnixMultiResolutionSplashTest.java

---
a/test/java/awt/SplashScreen/MultiResolutionSplash/unix/UnixMultiResolutionSplashTest.java
Thu Oct 20 14:21:46 2016 +0300
+++
b/test/java/awt/SplashScreen/MultiResolutionSplash/unix/UnixMultiResolutionSplashTest.java
Wed Oct 26 12:46:56 2016 +0530
@@ -47,6 +47,7 @@
  * @test @bug 8145174 8151787
  * @summary HiDPI splash screen support on Linux
  * @modules java.desktop/sun.java2d
+ * @requires (os.family == "linux")
  * @run main UnixMultiResolutionSplashTest
  */
 public class UnixMultiResolutionSplashTest {


Regards
Prasanta


--
Best regards, Sergey.

Reply via email to