diff options
author | Sven Gothel <[email protected]> | 2010-03-25 03:28:23 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-25 03:28:23 +0100 |
commit | 8b8e270788b50636e48ee17cc9e5fc8f29d44f5c (patch) | |
tree | 8b5f5096fc3c9131b4a331400cf2f73d3e30955e /make/build.xml | |
parent | 7a087b9181b94c3d38f9480ba3ccd3b9e8062200 (diff) |
http://www.jogamp.org/bugzilla/show_bug.cgi?id=378
Test:
Added JUNIT Test Environment:
- tests: jogl.test.jar
- run: 'ant junit.run'
Currently only runs 1 test regarding this bug id.
Adding PATH (windows) or LD_LIBRARY_PATH (unix).
Test initialized AWTTextureData without a current GLContext
and then uses it to render ..
Solution:
Pending initialization of GL depending data,
offered in TextureData.glPostInit(),
specialized in AWTTextureData.
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index b3a77945c..b8b3872ca 100644 --- a/make/build.xml +++ b/make/build.xml @@ -74,6 +74,10 @@ <ant antfile="${jogl.build.xml}" dir="${jogl.make.dir}" target="all" inheritAll="false"/> </target> + <target name="junit.run.jogl" depends="init"> + <ant antfile="${jogl.build.xml}" dir="${jogl.make.dir}" target="junit.run" inheritAll="false"/> + </target> + <target name="build.newt" depends="init"> <ant antfile="${newt.build.xml}" dir="${newt.make.dir}" target="all" inheritAll="false"/> </target> @@ -178,6 +182,8 @@ <target name="all" description="Build nativewindow, jogl and newt projects" depends="init,build.nativewindow,build.jogl,build.newt,one-lib-dir,developer-zip-archive,source-archive" /> + <target name="junit.run" description="Run JUNIT tests in nativewindow, jogl and newt projects" depends="init,junit.run.jogl" /> + <target name="clean" depends="init"> <ant antfile="${nativewindow.build.xml}" dir="${nativewindow.make.dir}" target="clean" inheritAll="false"/> <ant antfile="${jogl.build.xml}" dir="${jogl.make.dir}" target="clean" inheritAll="false"/> |