Mercurial > hg > graal-compiler
comparison test/runtime/NMT/CommandLineDetail.java @ 17653:e56d11f8cc21 hs25.20-b03
8021774: [TESTBUG] Tests failed because of a warning in its output
Summary: Remove check for warning
Reviewed-by: ctornqvi, hseigel, coleenp
author | gtriantafill |
---|---|
date | Thu, 06 Feb 2014 13:27:50 -0500 |
parents | 879c6de913d6 |
children | 52b4284cb496 ac12996df59b |
comparison
equal
deleted
inserted
replaced
17652:0eb64cfc0b76 | 17653:e56d11f8cc21 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
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 } |