aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-18 12:57:08 +0200
committerSven Gothel <[email protected]>2011-10-18 12:57:08 +0200
commit958b64beb44a470301a4354ae7d5133236e2f40f (patch)
tree066e0a3ceac11e79065b4ae4f36b37d887d96fe0 /make/build-test.xml
parent7eaeacc4148f0ec6146e5cc8db010a7414a7b419 (diff)
Fix Solaris gcc args ; Cleanup dependencies and linker args; Adding JVM arch flags (-d32/-d64) ; glxext.h uses 'gl-64bit-types.h'
Cleanup dependencies and linker args - JOGL/NEWT: remove Xxf86vm dependency - NativeWindow Solaris: Use std 'Xinerama' and 'xf86vmode'
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 19b917476..f011fdad5 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -31,6 +31,8 @@
<condition property="jvmarg.mainthrd" value="-Ddummy"><not><isset property="isOSX"/></not></condition>
<condition property="jvmarg.headless" value="-XstartOnFirstThread -Djava.awt.headless=true"><isset property="isOSX"/></condition>
<condition property="jvmarg.headless" value="-Djava.awt.headless=true"><not><isset property="isOSX"/></not></condition>
+ <condition property="jvmarg.arch" value="-d64"><isset property="is64Bit"/></condition>
+ <condition property="jvmarg.arch" value="-d32"><not><isset property="is64Bit"/></not></condition>
<property name="batchtest.timeout" value="1800000"/> <!-- 30 min -->
</target>
@@ -151,6 +153,7 @@
<!-- Test*NOUI* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
<!--
@@ -214,6 +217,7 @@
failonerror="false">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
<env key="CLASSPATH" value="${junit_jogl_noawt.run.jars}"/>
+ <arg line="${jvmarg.arch}"/>
<arg value="-Djava.library.path=${obj.all.paths}"/>
<arg line="${jvmarg.headless}"/>
<!--
@@ -248,6 +252,7 @@
<!-- Test*NEWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
<!--
@@ -282,6 +287,7 @@
<!-- Test*AWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
<!--
@@ -316,6 +322,7 @@
<!-- Test*AWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
<!--
@@ -373,6 +380,7 @@
failonerror="false">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
<env key="CLASSPATH" value="${junit_jogl_swt.run.jars}"/>
+ <arg line="${jvmarg.arch}"/>
<arg value="-Djava.library.path=${obj.all.paths}"/>
<arg line="${jvmarg.headless}"/>
<!--
@@ -404,6 +412,7 @@
<!-- Test*SWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
+ <jvmarg value="${jvmarg.arch}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>
<jvmarg value="${jvmarg.mainthrd}"/>
@@ -437,6 +446,7 @@
<target name="junit.run.newt.awt" depends="test.compile">
<!-- Test*AWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
+ <jvmarg value="${jvmarg.arch}"/>
<env key="${system.env.library.path}" path="${obj.all.paths}"/>
<jvmarg value="-Djava.library.path=${obj.all.paths}"/>