summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Köster <koesterreich@fastmail.fm>2013-04-15 10:47:57 +0200
committerFabian Köster <koesterreich@fastmail.fm>2013-04-15 10:47:57 +0200
commita1408747afb5f45662acae4e61cb81a4df3783e5 (patch)
treea25311fee07a68297930c2e3e4b9783120d9fe88 /dev-java/super-csv/super-csv-1.52.ebuild
parentUpdate manifest (diff)
downloadhibiscus-a1408747afb5f45662acae4e61cb81a4df3783e5.tar.gz
hibiscus-a1408747afb5f45662acae4e61cb81a4df3783e5.tar.bz2
hibiscus-a1408747afb5f45662acae4e61cb81a4df3783e5.zip
Disable unit tests for now
Diffstat (limited to 'dev-java/super-csv/super-csv-1.52.ebuild')
-rw-r--r--dev-java/super-csv/super-csv-1.52.ebuild18
1 files changed, 16 insertions, 2 deletions
diff --git a/dev-java/super-csv/super-csv-1.52.ebuild b/dev-java/super-csv/super-csv-1.52.ebuild
index fb61db5..94d2a03 100644
--- a/dev-java/super-csv/super-csv-1.52.ebuild
+++ b/dev-java/super-csv/super-csv-1.52.ebuild
@@ -24,15 +24,29 @@ COMMON_DEPS="dev-java/spiffy"
DEPEND="${COMMON_DEPS}
app-arch/unzip
- >=virtual/jdk-1.5"
+ >=virtual/jdk-1.5
+ dev-java/junit:4"
RDEPEND="${COMMON_DEPS}
>=virtual/jre-1.5"
JAVA_SRC_DIR="src"
-JAVA_GENTOO_CLASSPATH="spiffy"
+JAVA_GENTOO_CLASSPATH="spiffy,junit-4"
src_unpack() {
unpack ${A}
unpack ./${MY_P}-source.zip
rm -v *.jar *.zip || die
}
+
+# Not working
+#src_test() {
+# JAVA_SRC_DIR="test" \
+# JAVA_CLASSPATH_EXTRA="${PN}.jar" \
+# PN="${PN}-test" \
+# java-pkg-simple_src_compile
+#
+# local tests
+# tests=$(find test -name '*.java' | sed -e 's/\//./g;s/^test.//;s/.java$//' || die)
+#
+# ejunit4 -cp "${PN}.jar:${PN}-test.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})" $tests
+#}