OpenJDK / jdk / jdk
changeset 57972:d1caf4022e8e
8238586: [TESTBUG] vmTestbase/jit/tiered/Test.java failed when TieredCompilation is disabled
Reviewed-by: iignatyev
Contributed-by: huangjia@loongson.cn
author | iignatyev |
---|---|
date | Sat, 08 Feb 2020 15:46:39 +0800 |
parents | 3b89be93a7e7 |
children | bc3da0226ffa |
files | test/hotspot/jtreg/vmTestbase/jit/tiered/Test.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/jit/tiered/Test.java Fri Feb 07 17:00:23 2020 -0800 +++ b/test/hotspot/jtreg/vmTestbase/jit/tiered/Test.java Sat Feb 08 15:46:39 2020 +0800 @@ -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 @@ "-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)