mutter/tests/interactive
nobled eb906d85ca tests: abort if clutter_init fails
This fixes segfaults when something goes wrong during
init, but the test keeps going anyway.

Except for test-easing and test-picking, these were fixed by
sed magic:

sed -i -s -e "s/clutter_init \?(&argc, &argv)/\
if (clutter_init (\&argc, \&argv) != CLUTTER_INIT_SUCCESS)\n\
    return 1/" tests/*/*.c

http://bugzilla.clutter-project.org/show_bug.cgi?id=2574
2011-02-28 14:10:04 +00:00
..
Makefile.am interactive: Remove test-bind 2010-12-20 12:41:07 +00:00
test-actor-clone.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-actors.c test-actors: Clear the state on destroy 2011-02-09 13:36:54 +00:00
test-animation.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-animator.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-behave.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-bin-layout.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-binding-pool.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-box-layout.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cairo-flowers.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-clip.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-multitexture.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-offscreen.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-point-sprites.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-primitives.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-shader-arbfp.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-shader-glsl.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-tex-convert.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-tex-foreign.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-tex-getset.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-tex-polygon.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-tex-tile.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-cogl-vertex-buffer.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-constraints.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-depth.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-devices.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-drag.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-easing.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-events.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-fbo.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-flow-layout.c bind-constraint: Add BIND_POSITION and BIND_SIZE 2011-01-25 11:14:37 +00:00
test-fullscreen.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-grab.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-layout.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-multistage.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-paint-wrapper.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-path-constraint.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-pixmap.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-scale.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-script.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-scrolling.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-shader-effects.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-shader.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-snap-constraint.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-stage-read-pixels.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-stage-sizing.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-state-animator.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-state.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-table-layout.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-text-field.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-text.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-texture-async.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-texture-material.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-texture-quality.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-textures.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-threads.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-unproject.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
wrapper.sh.in build: Allow to run the tests from any directory 2010-07-06 12:39:15 +01:00