From f5fc5a5f7e9ea6a05381cad66067932399bb0216 Mon Sep 17 00:00:00 2001 From: Andrew Bayer Date: Fri, 22 Jul 2011 20:03:40 +0000 Subject: [PATCH] Enable cobertura coverage reporting. To use this, run: ant cobertura -Dcobertura.home=/path/to/cobertura That will run the standard smoke tests. To get a full report, you'll need to re-run it on the thirdparty tests: ant cobertura -Dcobertura.home=/path/to/cobertura -Dthirdparty=true \ -Dsqoop.thirdparty.lib.dir=/path/to/jdbc/drivers The results of both runs will be combined. From: Aaron Kimball git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149876 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 82 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index cfdd5810..4958c589 100644 --- a/build.xml +++ b/build.xml @@ -62,6 +62,14 @@ + + + + + + + + @@ -108,12 +116,21 @@ + + + + + + + + + + + @@ -223,14 +242,24 @@ + description="Run unit tests" /> + + + + + + + + + + + + + + + + + @@ -303,7 +343,6 @@ - @@ -314,7 +353,7 @@ - + Unit tests failed! @@ -353,6 +392,45 @@ file="${findbugs.home}/lib/findbugs.jar" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +