aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-18 07:00:46 +0200
committerSven Gothel <[email protected]>2011-10-18 07:00:46 +0200
commit13488392fcd8f9253f82557158cd1e7c45c36e41 (patch)
tree966e72568cee5ab96646c6e8f822a83628c91dbd /make/build-test.xml
parentf818817f3c0b14fe8317eaf5e1e1fff0a19884d0 (diff)
Fix Solaris gcc args ; Adding JVM arch flags (-d32/-d64)
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"/>