1
0
Fork 0
mutter-performance-source/tests/accessibility
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
..
cally-atkcomponent-example.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
cally-atkeditabletext-example.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
cally-atkevents-example.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
cally-atktext-example.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
cally-clone-example.c tests: abort if clutter_init fails 2011-02-28 14:10:04 +00:00
cally-examples-util.c Avoid to load cally module on a11y examples 2010-07-05 16:45:43 +01:00
cally-examples-util.h Add accessibility tests 2010-07-05 16:45:43 +01:00
Makefile.am build: Autogenerate more ignore files 2010-08-14 08:43:16 +01:00