Bug 571 - LSB: Desktop-T2C Tests
Summary: LSB: Desktop-T2C Tests
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Xiaofeng Yan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-12-08 01:30 UTC by Xiaofeng Yan
Modified: 2011-05-13 18:43 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaofeng Yan 2010-12-08 01:30:28 UTC
We get 139 bugs with lsb test suite from Desktop-T2C Tests. The detailed description is below:

==========================================================================
/fontconfig-t2c/tests/FcConfig/FcConfig-->
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-->
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-->
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'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
--------
"closed" 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-->
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-->
Message from the test:

Target interface(s):
 gdk_pixbuf_format_is_writable
--------
Cannot load pixbuf from file: Couldn't recognize the image file format for file '/opt/lsb/test/desktop-t2c/gdk-pixbuf-t2c/testdata/ModuleInterface/squares.ico'.
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, "jpeg", "png" and "ico" are possible file formats to save in, but more formats may be installed. 
 
==========================================================================
/gdk-pixbuf-t2c/tests/FileLoading/FileLoading -->
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't recognize the image file format for file '/opt/lsb/test/desktop-t2c/gdk-pixbuf-t2c/testdata/ImageDataInMemory/black_full.ico'
==========================================================================
/glib-t2c/tests/glib_commandline_option_parser/glib_commandline_option_parser-->
Target interface(s):
 g_option_context_add_main_entries
--------
The help should contain the following string "translated_Integer".
 
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)
==========================================================================
Comment 1 Edwin Zhai 2011-02-15 23:00:41 UTC
Xiaofeng,

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

Thanks,
edwin
Comment 2 Xiaofeng Yan 2011-02-16 01:14:39 UTC
(In reply to comment #1)
> Xiaofeng,
> 
> We have upgraded gtk+, and also the gdk-pixbuf. Could you pls. make a new test
> and see the result?
> 
> Thanks,
> 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.
Comment 3 Xiaofeng Yan 2011-05-13 18:43:03 UTC
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.