aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-14 05:39:22 +0200
committerSven Gothel <[email protected]>2011-09-14 05:39:22 +0200
commitd78568abedd21947a94f4dbadad42cbb5e7fb203 (patch)
treeec777ffcedec0c668364ef0d0f189ec613b1e9e0 /make/build-test.xml
parentc015e19f2f3648fd729cfb3a53798c71983afc4b (diff)
Remove duplicates in jogl.test.jar, jogl.util.jar, jogl.util.fixedfuncemu.jar
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index ed7584feb..8109798f4 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -33,8 +33,6 @@
<condition property="jvmarg.headless" value="-Djava.awt.headless=true"><not><isset property="isOSX"/></not></condition>
<property name="batchtest.timeout" value="1800000"/> <!-- 30 min -->
-
- <property name="java.part.test.shadercode" value="com/jogamp/opengl/test/junit/jogl/demos/es2/shader/*"/>
</target>
<!-- ================================================================== -->
@@ -90,21 +88,19 @@
<classpath refid="junit_jogl_newt_android.compile.classpath"/>
<src path="${src.test}" />
</javac>
+ <!-- include any resource files that tests may require -->
+ <copy todir="${classes}">
+ <fileset dir="${src.test}">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
<jar destfile="${jogl.test.jar}" filesonly="true">
<!-- get all class files, but skip any resource files that external tools
might have copied into the class directory (otherwise, it's possible
to get the same resource file twice in the jar) -->
<fileset dir="${classes}"
includes="${java.part.test}"/>
- <!-- include any resource files that tests may requre -->
- <fileset dir="${src.test}">
- <exclude name="**/*.java"/>
- </fileset>
- <fileset dir="${src.test}" includes="${java.part.test.shadercode}"/>
</jar>
- <copy todir="${classes}">
- <fileset dir="${src.test}" includes="${java.part.test.shadercode}"/>
- </copy>
</target>
<target name="test.manual.run" depends="test.compile">