aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 0913003..c476ff7 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -245,6 +245,7 @@ export ${system.env.library.path}=${env.TARGET_ROOT}/gluegen/${rootrel.build}/ob
<echo message="Testing ${test.class.fqn} -- ${test.class.result.file}"/>
<echo message="${line.separator}
java \${line.separator}
+${jvmarg.arch}
-Djava.library.path=${env.TARGET_ROOT}/gluegen/${rootrel.build}/obj${path.separator}${env.TARGET_ROOT}/gluegen/${rootrel.build}/test/build/natives\${line.separator}
-cp ${junit.run.remote.jars}\${line.separator}
-Dgluegen.root=${gluegen.root} \${line.separator}
@@ -339,6 +340,7 @@ ${line.separator}
<!-- Perform the junit tests-->
<junit forkmode="once" showoutput="true" fork="true" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${gluegen.lib.abs}${path.separator}${build_t.lib.abs}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${gluegen.lib.abs}${path.separator}${build_t.lib.abs}"/>
<jvmarg value="-Dgluegen.root=${gluegen.root}"/>
<jvmarg value="-Drootrel.build=${rootrel.build}"/>
@@ -369,6 +371,9 @@ ${line.separator}
<property name="gluegen.lib.abs" location="${gluegen.lib}" />
<property name="build_t.lib.abs" location="${build_t.lib}" />
+ <condition property="jvmarg.arch" value="-d64"><isset property="is64Bit"/></condition>
+ <condition property="jvmarg.arch" value="-d32"><not><isset property="is64Bit"/></not></condition>
+
<delete quiet="true">
<fileset dir="${build}/test/results" includes="**"/>
<fileset file="${build}/${test.archive.name}.7z"/>