<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>571</bug_id>
          
          <creation_ts>2010-12-08 01:30:28 +0000</creation_ts>
          <short_desc>LSB: Desktop-T2C Tests</short_desc>
          <delta_ts>2011-05-13 18:43:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaofeng Yan">Xiaofeng.yan</reporter>
          <assigned_to name="Xiaofeng Yan">Xiaofeng.yan</assigned_to>
          <cc>julie.n.fleischer</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11026</commentid>
    <comment_count>0</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2010-12-08 01:30:28 +0000</bug_when>
    <thetext>We get 139 bugs with lsb test suite from Desktop-T2C Tests. The detailed description is below:

==========================================================================
/fontconfig-t2c/tests/FcConfig/FcConfig--&gt;
Message from the test:

Target interface(s):
 FcConfigGetFonts
--------
Checked requirement: {FcConfigGetFonts.01}
The function returned the set with 0 fonts in it
 
Requirement failed:
{FcConfigGetFonts.01}
Returns one of the two sets of fonts from the configuration as specified by set 
 

Message from the test:

Target interface(s):
 FcFontMatch
--------
The function returned the null value
 
Requirement failed:
{FcFontMatch.01}
Returns the font in config most close matching p 
 
 	
Message from the test:

Target interface(s):
 FcFontSort
--------
The function returned the null value
 
Requirement failed:
{FcFontSort.01}
Returns the list of fonts sorted by closeness to p. 
==========================================================================
/freetype-t2c/tests/truetype_tables/truetype_tables--&gt;
Message from the test:

Target interface(s):
 FT_Get_Sfnt_Table
--------
Checked requirement: {FT_Get_Sfnt_Table.02}
This function is expected to return a pointer to given TT_MaxProfile table, but it is NOT.
 
Requirement failed:
{FT_Get_Sfnt_Table.02}
Returns a pointer to a given SFNT table within a face. 
==========================================================================
/gdk-pixbuf-t2c/tests/GdkPixbufLoader/GdkPixbufLoader--&gt;
Message from the test:

Target interface(s):
 gdk_pixbuf_loader_new_with_type
--------
Checked requirement: {app.gdk_pixbuf_loader_new_with_type.03}
 
Requirement failed:
{gdk_pixbuf_loader_new_with_type.02}
Returns a newly-created pixbuf loader. 

Message from the test:

Target interface(s):
 gdk_pixbuf_loader_get_format
--------
Checked requirement: {app.gdk_pixbuf_loader_get_format.03}
Format shouldn&apos;t be NULL
 
Requirement failed:
{gdk_pixbuf_loader_get_format.01}
Obtains the available information about the format of the currently loading image file. 

Target interface(s):
 size_prepared
 area_prepared
 area_updated
 closed
--------
&quot;closed&quot; signal is not allowed here
Checked requirement: {size_prepared.05}
Checked requirement: {area_prepared.03}
Checked requirement: {size_prepared.05}
 
Requirement failed:
{closed.03}
This signal is emitted when gdk_pixbuf_loader_close() is called. 
Problem info:

This failure occurs due to the following problem:
gdk_pixbuf_loader_set_size does not always set image size correctly.

==========================================================================
/gdk-pixbuf-t2c/tests/Animation/Animation--&gt;
Message from the test:

Target interface(s):
 gdk_pixbuf_animation_new_from_file
--------
Checked requirement: {app.gdk_pixbuf_animation_new_from_file.06}
Function should return GdkPixbufAnimation.
 
Requirement failed:
{gdk_pixbuf_animation_new_from_file.04}
Returns a newly-created animation with a reference count of 1. 
==========================================================================
/gdk-pixbuf-t2c/tests/ModuleInterface/ModuleInterface--&gt;
Message from the test:

Target interface(s):
 gdk_pixbuf_format_is_writable
--------
Cannot load pixbuf from file: Couldn&apos;t recognize the image file format for file &apos;/opt/lsb/test/desktop-t2c/gdk-pixbuf-t2c/testdata/ModuleInterface/squares.ico&apos;.
Cannot save image to file in format png:
Fatal error in PNG image file: Invalid IHDR data
 
Requirement failed:
{gdk_pixbuf_format_is_writable.01}
Returns whether pixbufs can be saved in the given format. 

Message from the test:

Target interface(s):
 gdk_pixbuf_format_is_writable
--------
Checked requirement: {gdk_pixbuf_format_is_writable.02}
Checked requirement: {gdk_pixbuf_format_is_writable.02}
Format ico should be registered
 
Requirement failed:
{gdk_pixbuf_format_is_writable.02}
By default, &quot;jpeg&quot;, &quot;png&quot; and &quot;ico&quot; are possible file formats to save in, but more formats may be installed. 
 
==========================================================================
/gdk-pixbuf-t2c/tests/FileLoading/FileLoading --&gt;
Requirement failed:
{gdk_pixbuf_new_from_file_at_size.20.01}
If an image file was broken somehow, error code should be GDK_PIXBUF_ERROR_CORRUPT_IMAGE

gdk_pixbuf_loader_set_size does not always set image size correctly.
Detailed description of this problem:
==========================================================================
/gdk-pixbuf-t2c/tests/ImageDataInMemory/ImageDataInMemory
 Couldn&apos;t recognize the image file format for file &apos;/opt/lsb/test/desktop-t2c/gdk-pixbuf-t2c/testdata/ImageDataInMemory/black_full.ico&apos;
==========================================================================
/glib-t2c/tests/glib_commandline_option_parser/glib_commandline_option_parser--&gt;
Target interface(s):
 g_option_context_add_main_entries
--------
The help should contain the following string &quot;translated_Integer&quot;.
 
At least one of the following requirements failed:
 
{g_option_context_add_main_entries.02.01}
Sets the translation domain. 
 
{g_option_context_parse.06}
If automatic --help support is enabled (see g_option_context_set_help_enabled()), and the argv array contains one of the recognized help options, this function will produce help output to stdout and call exit (0)
==========================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11810</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-02-15 23:00:41 +0000</bug_when>
    <thetext>Xiaofeng,

We have upgraded gtk+, and also the gdk-pixbuf. Could you pls. make a new test and see the result?

Thanks,
edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11816</commentid>
    <comment_count>2</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-02-16 01:14:39 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Xiaofeng,
&gt; 
&gt; We have upgraded gtk+, and also the gdk-pixbuf. Could you pls. make a new test
&gt; and see the result?
&gt; 
&gt; Thanks,
&gt; edwin

After adding some packags like list in the next to poky-lsb-image only left one question which is bugs from test suite.
    gdk-pixbuf-loader-bmp 
    gdk-pixbuf-loader-ico
    gdk-pixbuf-loader-png
    gdk-pixbuf-loader-jpeg

The address for question left is on
http://bugs.linuxbase.org/show_bug.cgi?id=3153

I will assign this bugs to myself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13832</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-13 18:43:03 +0000</bug_when>
    <thetext>1 Add liberation
2 Refer commnet#2
3 /freetype-t2c/tests/truetype_tables/truetype_tables is from test suite 
  http://bugs.linuxbase.org/show_bug.cgi?id=3153
So Yocto lsb image pass this test item.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>