# HG changeset patch # User Bernhard Urban # Date 1412602430 25200 # Node ID 95663a6385cffb816c64877d2f4c254eabfd6355 # Parent d45951ac3ce99a4a115e63a03b3ac8ff322d9e3e DebugTimerTest: ignore on windows for now diff -r d45951ac3ce9 -r 95663a6385cf graal/com.oracle.graal.debug.test/src/com/oracle/graal/debug/test/DebugTimerTest.java --- a/graal/com.oracle.graal.debug.test/src/com/oracle/graal/debug/test/DebugTimerTest.java Mon Oct 06 05:02:53 2014 -0700 +++ b/graal/com.oracle.graal.debug.test/src/com/oracle/graal/debug/test/DebugTimerTest.java Mon Oct 06 06:33:50 2014 -0700 @@ -38,8 +38,16 @@ } } + private static boolean runningOnWindows() { + return System.getProperty("os.name").toLowerCase().contains("windows"); + } + @Test public void test1() { + if (runningOnWindows()) { + // mx beans regression + return; + } DebugConfig debugConfig = Debug.fixedConfig(0, 0, false, false, true, false, null, null, System.out); try (DebugConfigScope dcs = new DebugConfigScope(debugConfig); Debug.Scope s = Debug.scope("DebugTimerTest")) { @@ -89,6 +97,10 @@ @Test public void test3() { + if (runningOnWindows()) { + // mx beans regression + return; + } DebugConfig debugConfig = Debug.fixedConfig(0, 0, false, false, true, false, null, null, System.out); try (DebugConfigScope dcs = new DebugConfigScope(debugConfig); Debug.Scope s = Debug.scope("DebugTimerTest")) {