<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1411</bug_id>
          
          <creation_ts>2019-12-06 04:37:59 +0100</creation_ts>
          <short_desc>Complete Unit Test Subset for DRM/GBM JOGL(EGL) and NEWT</short_desc>
          <delta_ts>2019-12-24 17:00:15 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>embedded</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1156</dependson>
    
    <dependson>1416</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>xerxes</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>b992423477ea1a76fb28946e28959a3feea97680
61eb1825663701fd50023328f6f3e8e8b24272b9
c5fabde01babfdd07c72347ff17ac0705b8c6c5a
5e38dc8cb69d9bec7ee3dc2b98d79c4abcf5e5f0
548553e189f8f9fa60d6c59da6bf0a4bd1bf7505</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6424</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-06 04:37:59 +0100</bug_when>
    <thetext>For the new feature DRM/GBM Bug 1156 we need to perform a subset of all unit tests.
Maximum subset would be w/o AWT and w/o SWT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6434</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-06 20:07:54 +0100</bug_when>
    <thetext>jogl b992423477ea1a76fb28946e28959a3feea97680

Unit Test Subset for DRM/GBM JOGL(EGL) and NEWT
First step disables all AWT and SWT unit tests.

For clarity, unit test scripts with right property setup are provided
to define the subset.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6451</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-09 07:16:07 +0100</bug_when>
    <thetext>61eb1825663701fd50023328f6f3e8e8b24272b9
DRM/GBM JOGL: Specify &apos;junit.run.console&apos; unit test target.

(WIP)

I still walk through the results ..
But it looks much better now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6452</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-09 07:41:09 +0100</bug_when>
    <thetext>c5fabde01babfdd07c72347ff17ac0705b8c6c5a
Fix &apos;junit.run.console&apos; unit test target, use it in respective (renamed) scripts.
    
    Added junit.run.console target in build.xml
    
    build-test.xml
    - Moves all results.test artifact moving from current directory into test-zip-archive target,
      reducing duplication.
    
    - junit.run.console: Added proper dependencies etc
    
    Renamed scripts to match junit.run.console:
      junit-linux-x86_64-headless.sh -&gt; junit-linux-x86_64-console.sh
      junit-linux-armv6hf-headless.sh -&gt; junit-linux-armv6hf-console.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6453</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-09 08:07:09 +0100</bug_when>
    <thetext>5e38dc8cb69d9bec7ee3dc2b98d79c4abcf5e5f0
Fix &apos;junit.run.console&apos; - three times a charm?
    
    - Proper handling if junit is disabled
    - Use proper class pattern, java.dir.junit already contains base folder ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6454</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-09 09:00:07 +0100</bug_when>
    <thetext>548553e189f8f9fa60d6c59da6bf0a4bd1bf7505

Fix &apos;junit.run.console&apos; - fourth times
    
    the property &apos;generic.junit.run.newt.headless.include.pattern&apos;
    to run target &apos;generic.junit.run.newt.headless&apos; multiple times for different unit tests
    must be unset within the caller space of ant.
    
    also fixed other occasions (never really worked on multiple calls).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6455</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-09 09:06:42 +0100</bug_when>
    <thetext>bash scripts/junit-linux-x86_64-console.sh

....

Results of ../build-x86_64//test/results

number of junit classes
    116    1044   34730

number of passed junit classes - failures
    104     936   31157

number of passed junit classes - errors
     97     873   28767

number of failed junit classes - failures
     12     108    3573

number of failed junit classes - errors
     19     171    5963

failed junit classes - failures
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableDelegateOnOffscrnCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableGLWindowOnOffscrnCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestNEWTCloseX11DisplayBug565
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT2
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3
com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle01NEWT
com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT
com.jogamp.opengl.test.junit.newt.TestGLWindows00NEWT
com.jogamp.opengl.test.junit.newt.TestGLWindows01NEWT
com.jogamp.opengl.test.junit.newt.TestWindows01NEWT
com.jogamp.opengl.test.junit.newt.TestWindows02NEWT
com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT

failed junit classes - errors
com.jogamp.opengl.test.junit.graph.TestTextRendererNEWTBugXXXX
com.jogamp.opengl.test.junit.jogl.acore.TestBug669RecursiveGLContext02NEWT
com.jogamp.opengl.test.junit.jogl.acore.TestFBOOffThreadSharedContextMix2DemosES2NEWT
com.jogamp.opengl.test.junit.jogl.acore.TestFBOOnThreadSharedContext1DemoES2NEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableDelegateOnOffscrnCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryGLnBitmapCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableGLWindowOnOffscrnCapsNEWT
com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile02NEWTNoARBCtx
com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile03NEWTOffscreen
com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile04NEWTOffscreenNoARBCtx
com.jogamp.opengl.test.junit.jogl.acore.TestGPUMemSec01NEWT
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.caps.TestBug605FlippedImageNEWT
com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1NEWT
com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES2NEWT
com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT
com.jogamp.opengl.test.junit.jogl.tile.TestTiledRendering1GL2NEWT
com.jogamp.opengl.test.junit.jogl.util.TestImmModeSinkES2NEWT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6469</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-24 17:00:15 +0100</bug_when>
    <thetext>Unit test results are mainly passing.

We accept these for now, may want to revisit and cherry pick certain &apos;failures&apos; for special QA acceptance.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>