[lsb-discuss] GdkGeneral test fail

Andrius Tsen andrius.tsen at gmail.com
Fri Jan 11 02:10:40 PST 2008


Hello,
I ran LSB 3.0 test on RHEL4 Update 5 and RHEL5, things went well on RHEL5,
but there are
a lot of test fails on GTK test.
The first fail is GdkGeneral,  error message in test report is

test case:
/opt/lsb/test/desktop/gtkvts/tet_tmp_dir/15063aa/tests/functions/GdkGeneral/GdkGeneral,
TP number: 2
GdkGeneral.c, line 145:
gdk_get_program_class: failed

Then i check out the lsb-gtkvts source code from your bzr lsb devel
repository, compile the this case and rerun it singlely,
tet_xres files contains following:

15|0 3.7-lite 1|TCM Start
400|0 1 2 08:54:14|IC Start
200|0 1 08:54:14|TP Start
520|0 1 00017581 1 1|test case: ./GdkGeneral, TP number: 1
220|0 1 0 08:54:14|PASS
200|0 2 08:54:14|TP Start
520|0 2 00017581 1 1|test case: ./GdkGeneral, TP number: 2
520|0 2 00017581 1 2|GdkGeneral.c, line 145:
520|0 2 00017581 1 3|gdk_get_program_class: failed
220|0 2 1 08:54:14|FAIL
410|0 1 2 08:54:14|IC End

Seems the same issue as first run, then i copy the compiled binary file to
RHEL5 box, 2 Passed, no fail.
    143
    144     if (strcmp(gdk_get_program_class(), ".") != 0){
    145         TEST_FAIL("gdk_get_program_class: failed", NULL);
    146     }

A glance into the source code, add a debuging tet_printf , found the
gdk_get_program_class() actually return an
empty string, not a "." on RHEL4U5 box compared to RHEL5, so the test
failed.
The gtk2 package is gtk2-2.4.13-22 on RHEL4U5 and gtk2-2.10.4-16 on RHEL5,
i don't know whether
the gdk_get_program_class return differently on different version in the
same testcase.
Is this a TSD or something else?

Regards
Andrius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/lsb-discuss/attachments/20080111/3a413872/attachment.htm 


More information about the lsb-discuss mailing list