equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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. |
113 if (!TestParams.testSrc.equals("")) { |
113 if (!TestParams.testSrc.equals("")) { |
114 args += " -C-Dtest.src=" + TestParams.testSrc; |
114 args += " -C-Dtest.src=" + TestParams.testSrc; |
115 } |
115 } |
116 if (!TestParams.testClasses.equals("")) { |
116 if (!TestParams.testClasses.equals("")) { |
117 args += " -C-Dtest.classes=" + TestParams.testClasses; |
117 args += " -C-Dtest.classes=" + TestParams.testClasses; |
|
118 } |
|
119 |
|
120 if (!TestParams.testJavaOpts.equals("")) { |
|
121 for (String a : TestParams.testJavaOpts.split(" +")) { |
|
122 args += " -C" + a; |
|
123 } |
|
124 } |
|
125 |
|
126 if (!TestParams.testVmOpts.equals("")) { |
|
127 for (String a : TestParams.testVmOpts.split(" +")) { |
|
128 args += " -C" + a; |
|
129 } |
118 } |
130 } |
119 |
131 |
120 args += " -C-Djava.rmi.server.useCodebaseOnly=false "; |
132 args += " -C-Djava.rmi.server.useCodebaseOnly=false "; |
121 |
133 |
122 args += " " + getCodeCoverageArgs(); |
134 args += " " + getCodeCoverageArgs(); |