Mercurial > hg > truffle
annotate test/compiler/rtm/cli/TestRTMRetryCountOption.java @ 21171:f1f7695b5bdc
Truffle: frame cleanup
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Fri, 01 May 2015 00:10:45 +0200 |
parents | cabe05c85665 |
children |
rev | line source |
---|---|
17882
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
1 /* |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
4 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
8 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
13 * accompanied this code). |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
14 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
18 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
21 * questions. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
22 * |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
23 */ |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
24 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
25 /** |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
26 * @test |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
27 * @bug 8031320 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
28 * @summary Verify processing of RTMRetryCount option. |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
29 * @library /testlibrary |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
30 * @build TestRTMRetryCountOption |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
31 * @run main/othervm TestRTMRetryCountOption |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
32 */ |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
33 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
34 public class TestRTMRetryCountOption extends RTMGenericCommandLineOptionTest { |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
35 private static final String DEFAULT_VALUE = "5"; |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
36 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
37 private TestRTMRetryCountOption() { |
20285
cabe05c85665
8054805: Update CLI tests on RTM options to reflect changes in JDK-8054376
fzhinkin
parents:
17882
diff
changeset
|
38 super(Boolean.TRUE::booleanValue, "RTMRetryCount", false, false, |
17882
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
39 TestRTMRetryCountOption.DEFAULT_VALUE, |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
40 "0", "10", "100", "1000"); |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
41 } |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
42 |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
43 public static void main(String args[]) throws Throwable { |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
44 new TestRTMRetryCountOption().test(); |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
45 } |
0af0caeb6a3a
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
iignatyev
parents:
diff
changeset
|
46 } |