RE: [Lsb-desktop] update on bug #1051 (devchk)

"Jain, Nilesh" <[email protected]> Wed, 21 Dec 2005 17:04:38 -0800
Newsgroups gmane.linux.lsb.test-suite
Message-ID <795389EE3D82B947880FBDA87E7F3F9609D06D36@fmsmsx408.amr.corp.intel.com>
>-----Original Message-----
>From: [email protected] [mailto:lsb-desktop-
>[email protected]] On Behalf Of ShrikantGangoda
>Sent: Friday, December 16, 2005 3:53 AM
>To: Banginwar, Rajesh
>Cc: [email protected]; [email protected]
>Subject: [Lsb-desktop] update on bug #1051 (devchk)
>
>Hi,
>
>We are currently having two issues with Devchk (Details: comment #17 on
>bug #1051)
>
>* Test cases for Arrays
>- Test case for arrays defined in structure and union is already
handled
>by CheckMemberSize macro.
>- For Typedef we just need to remove the "if($ttentry{'Ttype'} eq
>'Array')" condition. Since CheckTypeSize macro handles the same.

What is the issue there?

>
>
>*  Devchk fails for all single member structures
>In case of union checkOffset will not work because checkOffset inside
>declares union with one member so in case of union it will always start
>from
>zero.. hence test will always pass.

In case of union offset for members will be zero. In this case default
value passed in CheckOffset should be some invalid value not "0". 

>
>Any ideas on how we can test this?
>
>For more Details :http://bugs.linuxbase.org/show_bug.cgi?id=1051
>
>- Shrikant
>
>_______________________________________________
>Lsb-desktop mailing list
>[email protected]
>http://mail.freestandards.org/mailman/listinfo/lsb-desktop