Bug 1959

Summary: (YOCTO 1.2)LSB 4.1: /gobject-t2c/tests/gobject_value_arrays/gobject_value_arrays 24
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Xiaofeng Yan <Xiaofeng.yan>
Component: coreAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kai.kang, liang.li2, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.2   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
a test program for function g_value_array_sort_with_data which calls qsort_r none

Description Xiaofeng Yan 2012-02-03 02:01:49 UTC
function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize itself.
qsort_r from libglib cause sort error.
Comment 1 Xiaofeng Yan 2012-02-05 22:09:25 UTC
Created attachment 323 [details]
a test program for function g_value_array_sort_with_data which calls qsort_r

This test case is from LSB 4.1. Its purpose is check function g_value_array_sort_with_data.
Comment 2 Xiaofeng Yan 2012-02-05 22:11:29 UTC
Compile this test program(core-image-lsb-sdk):
$ gcc -g `pkg-config --cflags glib-2.0` gobject_value_arrays.c -o gobject -lgobject-2.0
Comment 3 Xiaofeng Yan 2012-02-14 19:31:24 UTC
It is no problem for g_qsort_with_data by using the test case from glib. glib has realized the function of "g_qsort_with_data" with two kinds of methods since version 2.28.8(Add calling qsort_r from libc.so). before 2.28.8, glib use the method by itself. type id `24' is invalid in 2.30.2. So this could be a upstream problem for lsb  test suite.
Comment 4 Kai Kang 2013-02-22 08:08:24 UTC
Still fail with lsb-test-desktop-t2c-4.1.2-2.i486.rpm, and it marked as "Known Problem"
Comment 5 Hongxu Jia 2013-08-15 09:06:12 UTC
The test suite is deficiency and has been waived.

See details:
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3412

When you start lsb test through web ui, click 'refresh list' button
in 'Custom Tests', it will update problem_db and the test result
will show you the test suite is waived.

//Hongxu