[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 9ceea770ec1b6b76c59c76d6e6a9e91081f82ce4
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits