Bug 2726 - slang: sort.sl test case failed on arm architecture
Summary: slang: sort.sl test case failed on arm architecture
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: All arm
: Medium normal
Target Milestone: 1.3 M3
Assignee: LiRongQing
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-10 02:37 UTC by LiRongQing
Modified: 2012-09-04 04:50 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LiRongQing 2012-07-10 02:37:50 UTC
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 = "simple sort: Char_Type"
./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 = &_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 = "qsort"
./sort.sl:72:<top-level>:Test Error
Comment 2 Chen Qi 2012-09-04 04:50:36 UTC
Verified in master branch 37c8597e7600385367257e8a513e003947ebef5b