Tests: copy the EdDSA test.data file to where the classloader can find it

This commit is contained in:
str4d
2014-11-14 21:16:28 +00:00
parent 9104bd7304
commit a0bf8433e4
2 changed files with 7 additions and 3 deletions

View File

@@ -128,6 +128,7 @@
<!-- EdDSA test vectors -->
<copy todir="./build/obj">
<fileset dir="./test/junit/">
<include name="net/i2p/crypto/eddsa/test.data"/>
<include name="net/i2p/crypto/eddsa/math/baseDblPrecmp"/>
<include name="net/i2p/crypto/eddsa/math/basePrecmp"/>
</fileset>
@@ -154,7 +155,7 @@
<!-- warning - The junit.test target below doesn't actually include i2ptest.jar in the classpath,
only the build/obj directory.
-->
<jar destfile="./build/i2ptest.jar" basedir="./build/obj" includes="**/*.class **/baseDblPrecmp **/basePrecmp" />
<jar destfile="./build/i2ptest.jar" basedir="./build/obj" includes="**/*.class **/test.data **/baseDblPrecmp **/basePrecmp" />
</target>
<!-- preparation of code coverage tool of choice -->
<target name="prepareClover" depends="compile" if="with.clover">