Skip to content
Permalink
Browse files

8238586: [TESTBUG] vmTestbase/jit/tiered/Test.java failed when Tiered…

…Compilation is disabled

Reviewed-by: iignatyev
  • Loading branch information
Jia Huang authored and iignatev committed Feb 8, 2020
1 parent 3461ce9 commit 7552915d3ff1bf2cb57cf10ec67b57ddf8321d87
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/hotspot/jtreg/vmTestbase/jit/tiered/Test.java
@@ -49,7 +49,7 @@
import jdk.test.lib.process.ProcessTools;

public class Test {
private static String UNSUPPORTED_OPTION_MESSAGE = "-XX:TieredCompilation not supported in this VM";
private static String UNSUPPORTED_OPTION_MESSAGE = "-XX:+TieredCompilation not supported in this VM";
private static String REGEXP = "^[0-9.]+: \\[compile level=\\d";
public static void main(String[] args) throws Exception {
{
@@ -59,7 +59,7 @@ public static void main(String[] args) throws Exception {
"-XX:+PrintTieredEvents",
"-version");
var output = new OutputAnalyzer(pb.start());
if (output.getStdout().contains(UNSUPPORTED_OPTION_MESSAGE)) {
if (output.getStderr().contains(UNSUPPORTED_OPTION_MESSAGE)) {
throw new SkippedException(UNSUPPORTED_OPTION_MESSAGE);
}
output.shouldHaveExitValue(0)

0 comments on commit 7552915

Please sign in to comment.