You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2004/03/03 15:18:49 UTC
cvs commit: ant/src/testcases/org/apache/tools/ant/types CommandlineJavaTest.java
bodewig 2004/03/03 06:18:49
Modified: src/testcases/org/apache/tools/ant/types
CommandlineJavaTest.java
Log:
Make test pass in Gumpy - at least I hope it does
Revision Changes Path
1.22 +12 -0 ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java
Index: CommandlineJavaTest.java
===================================================================
RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- CommandlineJavaTest.java 9 Feb 2004 21:05:45 -0000 1.21
+++ CommandlineJavaTest.java 3 Mar 2004 14:18:49 -0000 1.22
@@ -31,6 +31,8 @@
*/
public class CommandlineJavaTest extends TestCase {
+ private String cloneVm;
+
public CommandlineJavaTest(String name) {
super(name);
}
@@ -41,6 +43,16 @@
project = new Project();
project.setBasedir(".");
project.setProperty("build.sysclasspath", "ignore");
+ cloneVm = System.getProperty("build.clonevm");
+ if (cloneVm != null) {
+ System.setProperty("build.clonevm", "false");
+ }
+ }
+
+ public void tearDown() {
+ if (cloneVm != null) {
+ System.setProperty("build.clonevm", cloneVm);
+ }
}
public void testGetCommandline() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org