Tests should compile before being analyzed by checkstyle.

This commit is contained in:
iwakeh 2016-10-18 14:56:43 +02:00 committed by Karsten Loesing
parent f4e8983bff
commit 6603811aa9

View File

@ -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" />