Mercurial > hg > graal-jvmci-8
comparison test/gc/startup_warnings/TestParallelGC.java @ 12900:041c5da41ac4
8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
author | pliden |
---|---|
date | Tue, 15 Oct 2013 11:44:47 +0200 |
parents | bbc7936779f9 |
children |
comparison
equal
deleted
inserted
replaced
12899:bfd52054aeb8 | 12900:041c5da41ac4 |
---|---|
36 public class TestParallelGC { | 36 public class TestParallelGC { |
37 | 37 |
38 public static void main(String args[]) throws Exception { | 38 public static void main(String args[]) throws Exception { |
39 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version"); | 39 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version"); |
40 OutputAnalyzer output = new OutputAnalyzer(pb.start()); | 40 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
41 output.shouldNotContain("warning"); | 41 output.shouldNotContain("deprecated"); |
42 output.shouldNotContain("error"); | 42 output.shouldNotContain("error"); |
43 output.shouldHaveExitValue(0); | 43 output.shouldHaveExitValue(0); |
44 } | 44 } |
45 | 45 |
46 } | 46 } |