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
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