[libcofoja-java] 10/12: Enabled the unit tests

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Apr 14 23:45:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libcofoja-java.

commit a12853b2a6afeed01634243d499ffede724e0215
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 15 00:42:23 2014 +0200

    Enabled the unit tests
---
 debian/changelog | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 226bb59..89c8d30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ cofoja (1.0~r139-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Compile Cofoja's own contracts
+  * Enabled the unit tests
   * Removed debian/local.properties, use Ant command line arguments instead
   * debian/control:
     - Standards-Version updated to 3.9.5 (no changes)
diff --git a/debian/rules b/debian/rules
index a3d2cb3..ac6aacf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,5 +23,12 @@ override_dh_auto_clean:
 	-rm build/bootstrap.jar
 	dh_auto_clean
 
+override_dh_auto_test:
+	ant -Dasm.jar=/usr/share/java/asm3-all.jar \
+	    -Djunit.jar=/usr/share/java/junit4.jar \
+	    -Dant.build.javac.source=1.6 \
+	    -Dant.build.javac.target=1.6 \
+	    test
+
 get-orig-source:
 	debian/get-orig-source.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcofoja-java.git



More information about the pkg-java-commits mailing list