summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-27 00:46:51 +0100
committerSven Gothel <[email protected]>2010-03-27 00:46:51 +0100
commit2b61964060ffb79a313030d795ad069fbbe97b88 (patch)
treeb651a85840f303f15eecb58df5ebc48ea36cf66c /make
parent4fbe9a41fb025031d85400e0e730fd12be1f30e4 (diff)
Add coverage test (signatures and execution) ..
Diffstat (limited to 'make')
-rw-r--r--make/build-junit.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/make/build-junit.xml b/make/build-junit.xml
index 2a6807d..dd87cdd 100644
--- a/make/build-junit.xml
+++ b/make/build-junit.xml
@@ -48,6 +48,8 @@
<property name="gluegen.jar" value="${gluegen.root}/${rootrel.build}/gluegen.jar" />
<property name="gluegen-rt.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt.jar" />
+ <property name="gluegen.lib" value="${gluegen.root}/${rootrel.build}/obj" />
+
<property name="junit.jar" value="${gluegen.root}/make/lib/junit-4.5.jar" />
<property name="gluegen-test.jar" value="${build_t}/gluegen-test.jar" />
@@ -106,7 +108,7 @@
<jar destfile="${gluegen-test.jar}">
<fileset dir="${build_t.java}">
- <include name="${test.junit.rel}/*.class"/>
+ <include name="${test.junit.rel}/**/*.class"/>
</fileset>
</jar>
</target>
@@ -189,7 +191,7 @@
<!-- Perform the junit tests-->
<mkdir dir="${results}"/>
<junit forkmode="once" showoutput="true" fork="true" haltonerror="true">
- <jvmarg value="-Djava.library.path=${build_t.lib}"/>
+ <jvmarg value="-Djava.library.path=${gluegen.lib}:${build_t.lib}"/>
<jvmarg value="-Drootrel.build=${rootrel.build}"/>
<formatter usefile="false" type="plain"/>
<formatter usefile="true" type="xml"/>
@@ -240,7 +242,7 @@
<target name="junit.test1.c.build" unless="build.javaonly" >
<patternset id="junit.test1.c.src.files">
<include name="${test.junit.rootrel}/test1.c"/>
- <include name="${build_t.gen.rootrel}/native/BindingTest1_JNI.c"/>
+ <include name="${build_t.gen.rootrel}/native/BindingTest1Impl_JNI.c"/>
</patternset>
<c.build c.compiler.src.files="junit.test1.c.src.files"