summaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-08 14:33:56 +0200
committerSven Gothel <[email protected]>2023-08-08 14:33:56 +0200
commit4c5f3d8e589016e17ac3f1aad6a5c26bc21efe2f (patch)
treef5ab3e59beff0d5d2385a1936689f161af0c464b /make/build-test.xml
parent0e6d18c6b6d46b54e679ce0c44613e21e58245f2 (diff)
Bump jcpp (merged w/ jcpp upstream v1.4.14) and adopt to changes
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml29
1 files changed, 26 insertions, 3 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index 495fb7f..7a6a304 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -37,6 +37,7 @@
<property name="test.junit.generation.dir" value="${test.base.dir}/${test.junit.generation.rel}" />
<property name="test.jcpp.base.dir" value="${project.root}/jcpp/src/test/java" />
+ <property name="test.jcpp.guava.jar" value="${project.root}/jcpp/lib/guava-32.1.2-jre.jar" />
<property name="tempdir" value="${project.root}/build-temp" />
<property name="build" location="${project.root}/${rootrel.build}" />
@@ -81,20 +82,27 @@
</path>
<path id="junit.compile.classpath">
+ <pathelement location="${semver.jar}" />
<pathelement location="${junit.jar}" />
+ <pathelement location="${gluegen.jar}" />
+ </path>
+ <path id="jcpp.junit.compile.classpath">
<pathelement location="${semver.jar}" />
+ <pathelement location="${junit.jar}" />
<pathelement location="${gluegen.jar}" />
+ <pathelement location="${test.jcpp.guava.jar}" />
</path>
-
<path id="junit.run.classpath">
- <pathelement location="${junit.jar}" />
<pathelement location="${semver.jar}" />
+ <pathelement location="${junit.jar}" />
<pathelement location="${TestJarsInJar.jar}" />
<pathelement location="${gluegen-rt.jar}" />
<pathelement location="${gluegen.jar}" />
<pathelement location="${gluegen-test-util.jar}" />
<pathelement location="${gluegen-test.jar}" />
+ <pathelement location="${test.jcpp.guava.jar}" />
</path>
+
<property name="junit.run.jars" value="${junit.jar}${path.separator}${ant.jar}${path.separator}${semver.jar}${path.separator}${TestJarsInJar.jar}${path.separator}${gluegen.root}/${rootrel.build}/gluegen-rt.jar${path.separator}${gluegen.root}/${rootrel.build}/gluegen.jar${path.separator}${build}/gluegen-test-util.jar${path.separator}${build_t}/gluegen-test.jar"/>
<property name="junit.run.remote.jars" value="${junit.jar}${path.separator}${env.TARGET_ANT_HOME}/lib/ant.jar${path.separator}${env.TARGET_ANT_HOME}/lib/ant-junit.jar${path.separator}${env.TARGET_ANT_HOME}/lib/ant-junit4.jar${path.separator}${semver.jar}${path.separator}${gluegen.root}/make/lib/TestJarsInJar.jar${path.separator}${gluegen.root}/${rootrel.build}/gluegen-rt.jar${path.separator}${gluegen.root}/${rootrel.build}/gluegen.jar${path.separator}${build}/gluegen-test-util.jar${path.separator}${build_t}/gluegen-test.jar"/>
<property name="junit.run.remote.apks" value="${gluegen.root}/${rootrel.build}/jogamp-android-launcher.apk${path.separator}${ant-junit-all.apk}${path.separator}${gluegen.root}/${rootrel.build}/gluegen-rt-android-${android.abi}.apk${path.separator}${build_t}/gluegen-test.apk${path.separator}${gluegen.root}/make/lib/TestJarsInJar.apk"/>
@@ -160,7 +168,7 @@
<src path="${build_t.gen}/classes/com/jogamp/gluegen/test/junit/structgen" />
</javac>
- <!-- Javac All - Third -->
+ <!-- GlueGen Tests - Third -->
<!-- This has a hard Java8 target spec test: source, target + bootclasspath -->
<javac destdir="${build_t.java}"
fork="yes"
@@ -175,6 +183,21 @@
<classpath refid="junit.compile.classpath"/>
<compilerarg value="-proc:none"/>
<src path="${test.base.dir}"/>
+ <src path="${build_t.gen}" />
+ </javac>
+
+ <!-- JCPP Tests - Fourth -->
+ <!-- This has a soft Java8 bytecote target only (Using some build time APIs): target -->
+ <javac destdir="${build_t.java}"
+ fork="yes"
+ includeAntRuntime="false"
+ memoryMaximumSize="${javac.memorymax}"
+ encoding="UTF-8"
+ source="${target.sourcelevel}"
+ target="${target.targetlevel}"
+ debug="${javacdebug}" debuglevel="${javacdebuglevel}">
+ <classpath refid="jcpp.junit.compile.classpath"/>
+ <compilerarg value="-proc:none"/>
<src path="${test.jcpp.base.dir}"/>
<src path="${build_t.gen}" />
</javac>