| Summary: | slang: sort.sl test case failed on arm architecture | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | LiRongQing <rongqing.li> |
| Component: | core | Assignee: | LiRongQing <rongqing.li> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, Qi.Chen, rongqing.li, sgw, zhenfeng.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M3 | ||
| Hardware: | All | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
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 Verified in master branch 37c8597e7600385367257e8a513e003947ebef5b |
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