1
0
Fork 0
mutter-performance-source/tests/clutter-1.0.suppressions
Emmanuele Bassi 2a660fa298 Fully rework the conformance test suite
The current conformance test suite is suboptimal in many ways.

All tests are built into the same binary, which makes adding new tests,
builting tests, and running groups of tests much more awkward than it
needs to be. The first issue, especially, raises the bar of contribution
in a significant way, while the other two take their toll on the
maintainer. All of these changes were introduced back when we had both
Clutter and Cogl tests in tree, and because we were building the test
suite for every single change; since then, Cogl moved out of tree with
all its tests, and we build the conformance test suite only when running
the `check` make target.

This admittedly large-ish commit changes the way the conformance test
suite works, taking advantage of the changes in the GTest API and test
harness.

First of all, all tests are now built separately, using their own test
suite as defined by each separate file. All tests run under the TAP
harness provided by GTest and Automake, to gather a proper report using
the Test Anything Protocol without using the `gtester` harness and the
`gtester-report` script. We also use the Makefile rules provided by GLib
to vastly simplify the build environment for the conformance test suite.

On top of the changes for the build and harness, we also provide new API
for creating and running test suites for Clutter. The API is public,
because the test suite has to use it, but it's minimal and mostly
provides convenience wrappers around GTest that make writing test units
for Clutter easier.

This commit disables all tests in the conformance test suite, as well as
moving the data files outside of the tests/data directory; the next few
commits will re-establish the conformance test suite separately so we
can check that everything works in a reliable way.
2013-12-12 18:51:11 +00:00

173 lines
2 KiB
Text

{
ioctl_1
Memcheck:Param
ioctl(generic)
fun:ioctl
fun:driDrawableInitVBlank
fun:intelMakeCurrent
fun:glXMakeContextCurrent
}
{
ioctl_2
Memcheck:Param
ioctl(generic)
fun:ioctl
fun:driDrawableGetMSC32
fun:clutter_backend_glx_redraw
}
{
ioctl_3
Memcheck:Param
ioctl(generic)
fun:ioctl
fun:driWaitForMSC32
fun:clutter_backend_glx_redraw
}
{
mesa_init_context
Memcheck:Leak
fun:*alloc
...
fun:glXCreateNewContext
}
{
type_register
Memcheck:Leak
fun:*alloc
...
fun:g_type_register_*
}
{
type_ref
Memcheck:Leak
fun:*alloc
...
fun:g_type_class_ref
}
{
type_interface_prereq
Memcheck:Leak
fun:*alloc
...
fun:g_type_interface_add_prerequisite
}
{
get_charset
Memcheck:Leak
fun:*alloc
...
fun:g_get_charset
}
{
cogl_features
Memcheck:Leak
fun:*alloc
...
fun:cogl_get_features
}
{
glx_query_version
Memcheck:Leak
fun:*alloc
...
fun:glXQueryVersion
}
{
glx_create_context
Memcheck:Leak
fun:*alloc
...
fun:glXCreateNewContext
}
{
glx_make_current
Memcheck:Leak
fun:*alloc
...
fun:glXMakeContextCurrent
}
{
gl_draw_arrays
Memcheck:Leak
fun:*malloc
...
fun:glDrawArrays
}
{
cogl_clear
Memcheck:Leak
fun:*alloc
...
fun:cogl_clear
}
{
default_font
Memcheck:Leak
fun:*alloc
...
fun:clutter_backend_get_font_name
}
{
id_pool
Memcheck:Leak
fun:*alloc
...
fun:clutter_id_pool_new
}
{
x_open_display
Memcheck:Leak
fun:*alloc
...
fun:XOpenDisplay
}
# ... and font descriptions from every "sans 12" type string
{
pango_font_description_from_string
Memcheck:Leak
fun:*alloc
...
fun:pango_font_description_from_string
}
# other lib init
{
fontconfig_init
Memcheck:Leak
fun:*alloc
...
fun:FcConfigParseAndLoad
}
{
freetype_init
Memcheck:Leak
fun:*alloc
...
fun:FT_Open_Face
}
{
x_init_ext
Memcheck:Leak
fun:*alloc
...
fun:XInitExtension
}