diff options
author | Fabian Köster <koesterreich@fastmail.fm> | 2013-04-15 11:15:29 +0200 |
---|---|---|
committer | Fabian Köster <koesterreich@fastmail.fm> | 2013-04-15 11:15:29 +0200 |
commit | f29090136c8e8b3daef165245921578a6271875e (patch) | |
tree | aa457b4903871eff0ddfbabc9c537973bd0be2f0 | |
parent | Tested on ~x86 (diff) | |
download | hibiscus-f29090136c8e8b3daef165245921578a6271875e.tar.gz hibiscus-f29090136c8e8b3daef165245921578a6271875e.tar.bz2 hibiscus-f29090136c8e8b3daef165245921578a6271875e.zip |
Use find to build a list of all unit test classes
-rw-r--r-- | dev-java/spiffy/Manifest | 2 | ||||
-rw-r--r-- | dev-java/spiffy/spiffy-0.05.ebuild | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/dev-java/spiffy/Manifest b/dev-java/spiffy/Manifest index 4939168..69d0648 100644 --- a/dev-java/spiffy/Manifest +++ b/dev-java/spiffy/Manifest @@ -1,3 +1,3 @@ DIST spiffy-all-0.05.zip 141335 SHA256 773b9c2e1b5fe8904d64ba2984903dd022039826b5e682d103c16a10911a227f SHA512 33d824193bff271e1079d1bf9445d28c69b88acddcd4504f3b0868ae569659f20a3a117c6b9574ff08a26d72fa170b96e5f30e3732db98c36e544f81b8ce747d WHIRLPOOL 55ad653642f0d7b3ece17ce2bd8554ba26343e5aca43137e92ca96bde01de66e67989a777f4a54c10fb62cbd0ce3bf7c3003aaf36e1975671454a3514ada0862 -EBUILD spiffy-0.05.ebuild 1416 SHA256 5cc73569bb4fa4ae9e3b846da68dbafc169a60b81bff9421ca7341363a4069c3 SHA512 fb96deadebfb407790423dfc8e35f042fe7969ca69afa150c41184b21b5dbf85154623512a9b5e7aab7d244aeb1d388a2ebe8a3d89c6060a5102dc83cc1728b6 WHIRLPOOL 71660c437fff73ca9e1b068daac78b1af91f3eeba36dc40ccc064f9220936bd9b985e7586404ffd84bcb88f040405b21596770bced55976d229e04005e4650e8 +EBUILD spiffy-0.05.ebuild 1256 SHA256 eef2e5b0980be4f8a56592db6a8b6eb6822ddad256c24e471228c24e102a2649 SHA512 284e4870ad1520a7b92b33e628ed3e489791fb8846d0acb75aaef9c08ea7bf319ca53ba0794c478f1625bd1920e3158d434fc9b5624411462bdda7dba4da9dcd WHIRLPOOL 09c711e59f88aeda95465801f0770239a4bde896e99bb046ca4fd106b0592f427ea379b7cd1aa504d7d6ef39a2176a155f1300088e228ff18b38694655ef5850 MISC metadata.xml 214 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 SHA512 aeb2fb354a9ddf41c45a071091a58b91eaf8b25d6d2c49e3e3daa547b591a54530144de4533573160b48dc356289c909612c4e3c80e387f081f88cb39263e130 WHIRLPOOL 54d8861daedd18ca38e4ada0fb71026c612b63946d47a9b34de90d1d6d85c8ce05c0a4b97730f554ea637d73ccce8ed207d33e707c2b8c1dd28af24cf44dd186 diff --git a/dev-java/spiffy/spiffy-0.05.ebuild b/dev-java/spiffy/spiffy-0.05.ebuild index 90fc9e1..03fd9e3 100644 --- a/dev-java/spiffy/spiffy-0.05.ebuild +++ b/dev-java/spiffy/spiffy-0.05.ebuild @@ -43,12 +43,8 @@ src_test() { PN="${PN}-test" \ java-pkg-simple_src_compile - ejunit4 -cp "${PN}.jar:${PN}-test.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})" \ - spiffy.core.lang.StringHelperTest \ - spiffy.core.util.CollectionHelperTest \ - spiffy.core.util.HashMapBuilderTest \ - spiffy.core.util.PushBackIteratorTest \ - spiffy.core.util.ThreeDHashMapTest \ - spiffy.core.util.TwoDHashMapTest \ - spiffy.junit.AssertHelperTest + 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 } |