<?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>390</bug_id>
          
          <creation_ts>2010-03-25 08:05:04 +0100</creation_ts>
          <short_desc>JUnit tests: rootrel.build is ignored / compiler target arch is ignored</short_desc>
          <delta_ts>2010-03-25 18:48:24 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f
9a1b43908b3bb1cd5dd5fadafb3b23d6e9a2cf46
7fe91321c0617e3035f1168784d799bcfe44f47a
6eeede0843f199e2f81291354c6e02e1a262f4da
f06e190ef1b7c84433c5e3d9f7ce1e3899d4d7e9</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>426</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-25 08:05:04 +0100</bug_when>
    <thetext>The current junit tests use a fixed &apos;build&apos; sub-path,
not the customizing &apos;rootrel.build&apos; path.

More properties needs to be passed through (ant -&gt; junit -&gt; ant)
to comply with the current build system:
 * rootrel.build
 * os.arch
 * gluegen.user.compiler.file

However .. since even more properties may influence the build,
a more native solution with just plain &apos;ant&apos; might be more desireable ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-25 08:08:25 +0100</bug_when>
    <thetext>Fixed as described.

However a more elaborated solution within pure &apos;ant&apos; is desired!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-25 17:49:03 +0100</bug_when>
    <thetext>    Adding &apos;plain&apos; junit tests.
    Plain stands for the simple processing of:
        ant.junit.compile: gluegen -&gt; java/c files, javac/cc, jar
        ant.junit.run:     junit batch run
    
    Avoiding &apos;black magic&apos;, ie kicking off gluegen and ant-compilation
    from within the junit tests.
    
    Same methodology as the JOGL junit tests,
    junit test sources are under &apos;src/junit&apos;
    
    This way, the migration to other platform tests might be easier,
    as well as the we don&apos;t need to pass through ant properties (ant - junit - ant),
    see 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-25 18:48:24 +0100</bug_when>
    <thetext>- use gluegen.root
- use build_t as a unique property for build-junit.xml
  (build is used by build.xml)
- invoke junit.run on test</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>