Mercurial > hg > graal-jvmci-8
comparison test/runtime/NMT/CommandLineDetail.java @ 14182:21db9a1d43ef
8021774: [TESTBUG] Tests failed because of a warning in its output
Summary: Remove check for warning
Reviewed-by: zgu, mseledtsov
Contributed-by: george.triantafillou@oracle.com
author | hseigel |
---|---|
date | Mon, 23 Dec 2013 10:13:42 -0500 |
parents | 879c6de913d6 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14181:27c84ba76954 | 14182:21db9a1d43ef |
---|---|
22 */ | 22 */ |
23 | 23 |
24 /* | 24 /* |
25 * @test | 25 * @test |
26 * @key nmt | 26 * @key nmt |
27 * @summary Running with NMT detail should not result in an error or warning | 27 * @summary Running with NMT detail should not result in an error |
28 * @library /testlibrary | 28 * @library /testlibrary |
29 */ | 29 */ |
30 | 30 |
31 import com.oracle.java.testlibrary.*; | 31 import com.oracle.java.testlibrary.*; |
32 | 32 |
37 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( | 37 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( |
38 "-XX:NativeMemoryTracking=detail", | 38 "-XX:NativeMemoryTracking=detail", |
39 "-version"); | 39 "-version"); |
40 OutputAnalyzer output = new OutputAnalyzer(pb.start()); | 40 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
41 output.shouldNotContain("error"); | 41 output.shouldNotContain("error"); |
42 output.shouldNotContain("warning"); | |
43 output.shouldHaveExitValue(0); | 42 output.shouldHaveExitValue(0); |
44 } | 43 } |
45 } | 44 } |