[lsb-discuss] A qn about <%0%> in "glib_simple_xml_subset_parser.t2c"

Li, Xu xu.li at intel.com
Wed Jul 29 01:00:10 PDT 2009


Thanks, Alexey. I already found it. :-)

Thanks! - Xu


>-----Original Message-----
>From: Alexey Khoroshilov [mailto:khoroshilov at ispras.ru]
>Sent: 2009年7月29日 2:38
>To: Li, Xu
>Cc: lsb-discuss
>Subject: Re: [lsb-discuss] A qn about <%0%> in "glib_simple_xml_subset_parser.t2c"
>
>These tests have been developed with T2C framework [1] and the <%0%>
>construction is a syntax sugar of the t2c (actually, inherited from gtkvts).
>
>Detailed description of the T2C framework is available in "T2C: Getting
>Started" tutorial and "T2C Code Generator Reference" [2].
>
>In short, <%0%> is a placeholder to be replaced by the first parameter
>from <PURPOSE> section during test generation.
>
>[1] http://ispras.linuxfoundation.org/index.php/T2C_Framework
>[2] http://ispras.linuxfoundation.org/index.php/T2C_Framework_Releases
>(See latest documentation tarballs)
>
>--
>Best regards,
>Alexey Khoroshilov
>Linux Verification Center, ISPRAS
>web: http://linuxtesting.org
>e-mail: khoroshilov at linuxtesting.org
>
>Li, Xu wrote:
>>
>> While I’m looking at the source code
>> “glib_simple_xml_subset_parser.t2c” contained in the glib2 test suites
>> of lsb-test-desktop-t2c-4.0.0, I found many definitions like “#define
>> TEXT1 <%0%>”.
>>
>> I’m not sure what does “<%0%> mean here? Does anyone know?
>>
>> I attached “glib_simple_xml_subset_parser.t2c” for the reference.
>> Thank you very much!
>>
>> Best regards,
>>
>> Li, Xu
>>
>> Moblin Distro Team
>>
>> Intel Asia-Pacific R&D Ltd.
>>
>> Tel: 86-21-6116-6479
>>
>> iNet: 8821-6479
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> lsb-discuss mailing list
>> lsb-discuss at lists.linux-foundation.org
>> https://lists.linux-foundation.org/mailman/listinfo/lsb-discuss
>>



More information about the lsb-discuss mailing list