mutter/tests/micro-bench
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 tests: Adds test-cogl-perf micro benchmark 2010-11-26 14:33:50 +00:00
test-cogl-perf.c tests: Adds test-cogl-perf micro benchmark 2010-11-26 14:33:50 +00:00
test-picking.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-random-text.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
test-text-perf.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