[tor-commits] [collector/master] Tests should compile before being analyzed by checkstyle.

karsten at torproject.org karsten at torproject.org
Mon Oct 24 13:06:09 UTC 2016


commit 6603811aa98b63cf2d6b5e2394a0aa5afdf9da94
Author: iwakeh <iwakeh at torproject.org>
Date:   Tue Oct 18 14:56:43 2016 +0200

    Tests should compile before being analyzed by checkstyle.
---
 build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 7266e2d..ec8035e 100644
--- a/build.xml
+++ b/build.xml
@@ -227,7 +227,7 @@
   <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties">
     <classpath refid="checkstyle.classpath" />
   </taskdef>
-  <target name="checks" depends="compile">
+  <target name="checks" depends="compile,compile-tests">
     <checkstyle config="${testresources}/metrics_checks.xml">
       <fileset dir="${testsources}"
                includes="**/*.java" />





More information about the tor-commits mailing list