Mercurial > hg > truffle
comparison test/gc/startup_warnings/TestCMSNoIncrementalMode.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 |
---|---|
35 public class TestCMSNoIncrementalMode { | 35 public class TestCMSNoIncrementalMode { |
36 | 36 |
37 public static void main(String args[]) throws Exception { | 37 public static void main(String args[]) throws Exception { |
38 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:-CMSIncrementalMode", "-version"); | 38 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:-CMSIncrementalMode", "-version"); |
39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); | 39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
40 output.shouldNotContain("warning"); | 40 output.shouldNotContain("deprecated"); |
41 output.shouldNotContain("error"); | 41 output.shouldNotContain("error"); |
42 output.shouldHaveExitValue(0); | 42 output.shouldHaveExitValue(0); |
43 } | 43 } |
44 | 44 |
45 } | 45 } |