Mercurial > hg > graal-compiler
diff test/compiler/whitebox/IsMethodCompilableTest.java @ 12328:303826f477c6
8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
author | iignatyev |
---|---|
date | Sat, 28 Sep 2013 12:32:10 +0400 |
parents | f99558245e5c |
children | f9a4b59ae350 |
line wrap: on
line diff
--- a/test/compiler/whitebox/IsMethodCompilableTest.java Sat Sep 28 12:32:09 2013 +0400 +++ b/test/compiler/whitebox/IsMethodCompilableTest.java Sat Sep 28 12:32:10 2013 +0400 @@ -68,6 +68,12 @@ */ @Override protected void test() throws Exception { + if (testCase.isOsr && CompilerWhiteBoxTest.MODE.startsWith( + "compiled ")) { + System.err.printf("Warning: %s is not applicable in %s%n", + testCase.name(), CompilerWhiteBoxTest.MODE); + return; + } if (!isCompilable()) { throw new RuntimeException(method + " must be compilable"); }