[Nice-commit] Nice/src/nice/tools/testsuite TestCase.java,1.34,1.35
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-03-24 10:01:13
|
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); |