Nice/src/nice/tools/testsuite TestCase.java,1.34,1.35
Daniel Bonniot <[email protected]> Thu, 24 Mar 2005 10:01:01 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/nice/tools/testsuite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15473/src/nice/tools/testsuite
Modified Files:
TestCase.java
Log Message:
When running a separate jvm, put the classes directory after the testcase
directory, since generated code must have priority over core one.
Index: TestCase.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/TestCase.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** TestCase.java 23 Mar 2005 17:56:29 -0000 1.34
--- TestCase.java 24 Mar 2005 10:00:57 -0000 1.35
***************
*** 372,376 ****
public void runJVM(String jvm, String main) throws TestSuiteException {
try {
! Process p = Runtime.getRuntime().exec(jvm + " -classpath classes:" + TestNice.getTempFolder() + " " + main);
CharArrayWriter out = new CharArrayWriter();
int exitValue = nice.tools.compiler.dispatch.waitFor(p, out);
--- 372,376 ----
public void runJVM(String jvm, String main) throws TestSuiteException {
try {
! Process p = Runtime.getRuntime().exec(jvm + " -classpath " + TestNice.getTempFolder() + ":classes " + main);
CharArrayWriter out = new CharArrayWriter();
int exitValue = nice.tools.compiler.dispatch.waitFor(p, out);
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click