[tor-commits] [metrics-lib/master] Use a separate JVM for running the unit tests.

karsten at torproject.org karsten at torproject.org
Thu Jan 19 16:49:09 UTC 2012


commit 9ceea770ec1b6b76c59c76d6e6a9e91081f82ce4
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Jan 19 17:47:03 2012 +0100

    Use a separate JVM for running the unit tests.
    
    Otherwise we'll run into weird problems with Ant when overriding Java's
    URL stream handler to test the downloading code (not merged yet).
---
 build.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.xml b/build.xml
index 83cd991..0f2539a 100644
--- a/build.xml
+++ b/build.xml
@@ -45,7 +45,7 @@
         <fileset dir="${libs}"/>
       </classpath>
     </javac>
-    <junit haltonfailure="true" printsummary="off">
+    <junit fork="true" haltonfailure="true" printsummary="off">
       <classpath refid="classpath"/>
       <formatter type="plain" usefile="false"/>
       <batchtest>



More information about the tor-commits mailing list