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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2726</bug_id>
          
          <creation_ts>2012-07-10 02:37:50 +0000</creation_ts>
          <short_desc>slang: sort.sl test case failed on arm architecture</short_desc>
          <delta_ts>2012-09-04 04:50:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LiRongQing">rongqing.li</reporter>
          <assigned_to name="LiRongQing">rongqing.li</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>rongqing.li</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenfeng.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22930</commentid>
    <comment_count>0</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2012-07-10 02:37:50 +0000</bug_when>
    <thetext>1. Copy the self test cases under slang-2.2.4/src/test/ in compiling dir to target machine.

2. run sltest sort:

$./sltest sort.
Testing sorting ...Failed: simple sort: Char_Type [utf8=0]
./inc.sl:28:failed:Test Error
  Local variables for failed:
    String_Type s = &quot;simple sort: Char_Type&quot;
./sort.sl:27:test_simple_sort:Test Error
  Local variables for test_simple_sort:
    Integer_Type n = 2
    Integer_Type dir = 1
    Ref_Type cmp_op = &amp;_op_lt
    Array_Type ishift = Integer_Type[2]
    Array_Type x = Char_Type[2]
    Array_Type dx = Double_Type[2]
    Undefined_Type bad = Undefined_Type
    DataType_Type type = Char_Type
./sort.sl:54:run_test_simple_sorts:Test Error
  Local variables for run_test_simple_sorts:
    String_Type method = &quot;qsort&quot;
./sort.sl:72:&lt;top-level&gt;:Test Error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23185</commentid>
    <comment_count>1</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2012-07-18 02:36:17 +0000</bug_when>
    <thetext>Fixed in master:
https://github.com/openembedded/oe-core/blob/master/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24776</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2012-09-04 04:50:36 +0000</bug_when>
    <thetext>Verified in master branch 37c8597e7600385367257e8a513e003947ebef5b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>