7146533: [TEST BUG] [macosx] skip java/awt/xembed/server/RunTestXEmbed.java for Mac OS X

Reviewed-by: alexsch, serb
This commit is contained in:
Vikrant Agarwal 2015-11-23 14:44:41 +03:00 committed by Konstantin Shefov
parent 08c1fe55c0
commit 4e828a68b5

View File

@ -23,9 +23,12 @@
/**
* @test
* @bug 4931668
* @bug 4931668 7146533
* @summary Tests XEmbed server/client functionality
* @author Denis Mikhalkin: area=awt.xembed
* @requires (!(os.family=="mac") & !(os.family=="windows"))
* @library /lib/testlibrary
* @build jdk.testlibrary.Platform
* @modules java.desktop/sun.awt
* @compile JavaClient.java TesterClient.java TestXEmbedServer.java
* @run main/timeout=6000 RunTestXEmbed
@ -93,7 +96,7 @@ public class RunTestXEmbed extends TestXEmbedServer {
}
public static void main(String[] args) throws Throwable {
if (System.getProperty("os.name").toLowerCase().startsWith("win")) {
if (Platform.isWindows() || Platform.isOSX()) {
return;
}