diff options
author | Sven Gothel <[email protected]> | 2019-12-09 08:06:18 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-12-09 08:06:18 +0100 |
commit | 5e38dc8cb69d9bec7ee3dc2b98d79c4abcf5e5f0 (patch) | |
tree | 9f1d2fc96f8e6ecb7f0521badf9df8467985eb75 /make/build-test.xml | |
parent | c5fabde01babfdd07c72347ff17ac0705b8c6c5a (diff) |
Bug 1411 DRM/GBM JOGL: Fix 'junit.run.console' - three times a charm?
- Proper handling if junit is disabled
- Use proper class pattern, java.dir.junit already contains base folder ;-)
Diffstat (limited to 'make/build-test.xml')
-rw-r--r-- | make/build-test.xml | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/make/build-test.xml b/make/build-test.xml index a7bd84e64..195f49f8b 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -338,6 +338,10 @@ Utilizing Ant-1.8.0 and ant-contrib-1.0b3 (loops, mutable properties). --> + <echo message="+++ "/> + <echo message="+++ generic.junit.run.newt.headless"/> + <echo message="+++ Pattern: ${generic.junit.run.newt.headless.include.pattern}"/> + <echo message="+++ "/> <for param="test.class.path.m" keepgoing="true"> <!-- results in absolute path --> <fileset dir="${classes}"> @@ -1195,45 +1199,58 @@ ${line.separator} <antcall target="test-zip-archive" inheritRefs="true" inheritAll="true"/> </target> - <target name="junit.run.console" depends="junit.run.settings, junit.run.if.enabled, junit.run.if.disabled, test.compile" unless="junit.is.disabled"> + <target name="junit.run.console.if.enabled" depends="test.compile" unless="junit.is.disabled"> <antcall target="junit.run.noui" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/acore/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/acore/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/caps/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/acore/anim/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/demos/es1/newt/Test*NEWT*"/> + <!-- ExclusiveContextThread very buggy Intel driver .. FIXME/Investigate + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/acore/ect/Test*NEWT*"/> + <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> --> + + <!-- Drawable/Context switching very buggy Intel driver .. FIXME/Investigate + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/acore/glels/Test*NEWT*"/> + <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> --> + + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/caps/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/demos/es1/newt/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/glsl/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/demos/es2/newt/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/perf/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/glsl/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/tile/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/perf/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/util/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/tile/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/jogl/texture/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/util/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/newt/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/jogl/texture/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/newt/mm/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/newt/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> - <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/com/jogamp/opengl/test/junit/graph/Test*NEWT*"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/newt/mm/Test*NEWT*"/> <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> + <property name="generic.junit.run.newt.headless.include.pattern" value="${java.dir.junit}/graph/Test*NEWT*"/> + <antcall target="generic.junit.run.newt.headless" inheritRefs="true" inheritAll="true"/> + + </target> + <target name="junit.run.console" depends="junit.run.settings, junit.run.console.if.enabled, junit.run.if.disabled"> <antcall target="test-zip-archive" inheritRefs="true" inheritAll="true"/> </target> |