summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-03-05 20:16:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-03-05 20:16:50 +0000
commit256900708921cc056c938f625db8edf5e3146360 (patch)
treed745e038535031d9b41942ec2d13ab6bcf9696b0 /dev-db/hsqldb
parentAdd back ~sparc, Bug #210777, verified as still working with USE=pam. (diff)
downloadhistorical-256900708921cc056c938f625db8edf5e3146360.tar.gz
historical-256900708921cc056c938f625db8edf5e3146360.tar.bz2
historical-256900708921cc056c938f625db8edf5e3146360.zip
Add src_test.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-db/hsqldb')
-rw-r--r--dev-db/hsqldb/ChangeLog6
-rw-r--r--dev-db/hsqldb/Manifest14
-rw-r--r--dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild15
3 files changed, 30 insertions, 5 deletions
diff --git a/dev-db/hsqldb/ChangeLog b/dev-db/hsqldb/ChangeLog
index 4e9234d868ed..f4428796ba18 100644
--- a/dev-db/hsqldb/ChangeLog
+++ b/dev-db/hsqldb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/hsqldb
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.38 2008/02/15 19:02:12 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.39 2008/03/05 20:16:50 betelgeuse Exp $
+
+ 05 Mar 2008; Petteri Räty <betelgeuse@gentoo.org>
+ hsqldb-1.8.0.9-r1.ebuild:
+ Add src_test.
15 Feb 2008; William L. Thomson Jr. <wltjr@gentoo.org>
hsqldb-1.8.0.9-r1.ebuild:
diff --git a/dev-db/hsqldb/Manifest b/dev-db/hsqldb/Manifest
index e9527d0db033..75aa9357fc05 100644
--- a/dev-db/hsqldb/Manifest
+++ b/dev-db/hsqldb/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 35hsqldb 33 RMD160 7f6db20183f2a6ebfe3054f8c3572b7417a4b5e3 SHA1 2f9b09ee3443889c2f1703f57c6ff80b4760aa69 SHA256 bd41e5568084a4856f102863b82f8103b0c9e1ad38423217f75e21d6842e447c
AUX bundle-all-tools.patch 873 RMD160 e13225f63d202fda9d3e54b5141b92f88c2c0b99 SHA1 72a5539601cc09d385ec2e867afe9ad38db2eaa8 SHA256 9ed2f92a998045430b8685c846ebfaeb32898828f45255df7a8e09ffab267468
AUX hsqldb 464 RMD160 9f491a89bc013085205ddcac0cdcc85b26abe431 SHA1 a947e19e7379da582f4193cb6fbdddc884e52333 SHA256 773d18c752b8392fb1b1677789934ea7a531f8cc0276c18917e21c71b717a3a9
@@ -9,7 +12,14 @@ AUX sqltool.rc-r1 619 RMD160 095cf1293ef4d40eed83df5f3025202c5a57f493 SHA1 8a98d
DIST hsqldb_1_7_3_1.zip 2841759 RMD160 48c5e6e6673217caa67a6bc76775d5e676017051 SHA1 3e75e67e04c15706997e6b19040bd0c34aeea310 SHA256 491a40eb8d01afde4a8d86444dc058d905f15f7c59bbacaf62c5e2967884f676
DIST hsqldb_1_8_0_9.zip 3493449 RMD160 202b3dce4b737f928e57e281f4035df378526ce1 SHA1 fab82a70adedaeb427f8115736bd2c8bb6358556 SHA256 e98d1d8bca15059f4ef4f0d3dde2d75778a5e1bbe8bc12abd4ec2cac39d5adec
EBUILD hsqldb-1.7.3.1-r3.ebuild 3621 RMD160 bbe349a6dc800bada1fd7922d05ab100ed2f9bc2 SHA1 d860336d1e05565fd30a30be2c6a5065d7bca058 SHA256 2eaa77aff2476a4fdbfb858f539b80b03161da39f25c03d4d3aa07b0246e6a2d
-EBUILD hsqldb-1.8.0.9-r1.ebuild 5120 RMD160 f7550e27b56e3af783daeb644367841d391f16f8 SHA1 98eee27b5f85f0097f7957df2380c6a6eba6f238 SHA256 c290960ca2649f0458f1670de535e94bf5886eeb9a243b83377ea5411e803a20
+EBUILD hsqldb-1.8.0.9-r1.ebuild 5475 RMD160 4e2c8835c41ed0fe95d22077ec0c405aa562ad2d SHA1 206ddf814a3b7777f37debad27f57c05c28fa5b3 SHA256 eacb78d73daa932cbaa56d540baf64374ec6bb768b5062b57236009ab5732ec4
EBUILD hsqldb-1.8.0.9.ebuild 5134 RMD160 963fa177b6f8d48d7ee62c9bf94f42255fdd937d SHA1 1c98443160cde516de21b17b78c57accc1f94b71 SHA256 086d231c6212e91bebb90f3431b036e1dd241eb7a90e458b9a90ed95ad73cc34
-MISC ChangeLog 5439 RMD160 9cc73deb0d4bf1ecf45c376c5739e3d4d791a389 SHA1 73eae45ebdc0d514fc4c334f1aa9bcb8d89fa068 SHA256 52df1e478b0b20fbaf6d40e2de05866a9b83f43c15b2f36891f061c21647764d
+MISC ChangeLog 5542 RMD160 5a12766e960bf7c786c8cea4ba52d6c3067ffa77 SHA1 e3840a7fde08b82af91a69b806ac1f91f3124fc8 SHA256 e8bef5cd9e917180d846598122378d825f4f7def8880d3f8265926ddd92c6fff
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHzv+zcxLzpIGCsLQRAjuTAJ4pMteIH/s1XaL/xxChZRTA1SXJPACdF4Z/
+JT2uBUDPYEfq13tdcGncaR4=
+=2X2a
+-----END PGP SIGNATURE-----
diff --git a/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild b/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild
index 16ef88f5f2ad..b9271d71c391 100644
--- a/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild
+++ b/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild,v 1.2 2008/02/15 19:02:12 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild,v 1.3 2008/03/05 20:16:50 betelgeuse Exp $
EAPI=1
-JAVA_PKG_IUSE="doc source"
+JAVA_PKG_IUSE="doc source test"
inherit eutils versionator java-pkg-2 java-ant-2
MY_PV=$(replace_all_version_separators _ )
@@ -23,6 +23,7 @@ CDEPEND="java-virtuals/servlet-api:2.3"
RDEPEND=">=virtual/jre-1.4
${CDEPEND}"
DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* )
+ test? ( dev-java/junit:0 )
${CDEPEND}"
S="${WORKDIR}/${PN}"
@@ -68,6 +69,16 @@ EANT_BUILD_XML="build/build.xml"
EANT_BUILD_TARGET="jar jarclient jarsqltool jarutil"
EANT_DOC_TARGET="javadocdev"
+src_test() {
+ java-pkg_jar-from --into lib junit
+ eant -f ${EANT_BUILD_XML} jartest
+ cd testrun/hsqldb || die
+ ./runTest.sh TestSelf || die "hsqldb tests failed"
+ # TODO. These fail. Investigate why.
+ #cd "${S}/testrun/sqltool" || die
+ #CLASSPATH="${S}/lib/hsqldb.jar" ./runtests.bash || die "sqltool test failed"
+}
+
src_install() {
java-pkg_dojar lib/hsql*.jar