Bug#646091: javassist: Enablement of JUnit test suite

James Page james.page at ubuntu.com
Fri Oct 21 08:36:57 UTC 2011


Package: javassist
Version: 1:3.12.1.ga-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


In Ubuntu, the attached patch was applied to achieve the following:

  * Enable test suite for Ubuntu MIR (LP: #878186).
    - d/rules: Use DEB_ANT_CHECK_TARGET to execute test suite, ensure
      ant-junit and junit are added to the classpath.
    - d/control: Added ant-optional and junit to B-D-I.

Thanks for considering the patch.

- -- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOoS8pAAoJEL/srsug59jDJvUQAI3HKCt/SnAJpKaNKYsCCl12
5PLOnIsgiW+mZPDhcOSwsIcEFoFA1yoMBd0+Ieu3VzX2SgWx4JXv85P4eBNSHJD+
ZfwZS+bpOSl8LGID8UViS8GTZjYr3R1l+yhQQfcZSVtXDoH0S1jdsVPau7lnn8wU
3aCgcjYS17zAXDzRJQ4Y7SEOo8KbCtlb9faIBC8RVkIQiJOSxXiuZy3PbYc+RitF
5cuFo31+SB7iJa5AVPbtX5eYEWAGWRvq9kwhOkLqRGjeVGmSW9/+jT6UJL2r79aW
i/wTfa+WAoJ8nu0ey9AbH5AsNDK+UeVaH6wr0DuN1vGxpBZz+01ZNV73u4RLjZFI
0WSB9Bgez3xB5iRzgEj4IHCTAMI9laNC1HZqFuJ5n7hsZ5FmccI6WxnU0VdxtpBv
qWuztat2VV4xNKBp8iSQSQ9YIy+lJ5baWRdblFUoH/RIrIGZvwU7nAW4Qg79GJrZ
k7jY3WqJIRtDLPgepu7x+MDhNzW0WEEj6nzR1ta/jm1/ROk5sBY0GuwTzuFuvjkm
ZGhuodxFSi2Wqs/C6d3gQRsec/PAG/lmt1ulB3HQkzTKb9iLbosiwCHBsMbIvQiA
kdS97zwNrCuxmMnnAihCDztapVdfEoE6C3CnlQjomGNnIkXKkyZo4LM8e+lcWszb
DHwx422Dh45dtYi6vKeT
=avco
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2011-09-25 01:33:06 +0000
+++ debian/control	2011-10-21 08:36:02 +0000
@@ -5,7 +5,7 @@
 Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>,
  Niels Thykier <niels at thykier.net>
 Build-Depends: debhelper (>= 7), cdbs
-Build-Depends-Indep: ant, default-jdk, maven-repo-helper
+Build-Depends-Indep: ant, default-jdk, maven-repo-helper, ant-optional, junit
 Standards-Version: 3.9.2
 Homepage: http://www.csg.is.titech.ac.jp/~chiba/javassist/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/javassist

=== modified file 'debian/rules'
--- debian/rules	2010-05-14 14:03:40 +0000
+++ debian/rules	2011-10-21 08:32:32 +0000
@@ -7,6 +7,8 @@
 VERSION              := $(DEB_UPSTREAM_VERSION)
 JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_ANT_BUILD_TARGET := jar javadocs
+DEB_ANT_CHECK_TARGET := test
+DEB_JARS             := ant-junit junit
 ANT_OPTS             := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
 
 clean::



More information about the pkg-java-maintainers mailing list