forked from enlightenment/efl
Evas textblock: tests should now work a bit better.
SVN revision: 78645
This commit is contained in:
parent
2bd953a4ab
commit
bb68f2db60
|
@ -93,6 +93,7 @@ main(int argc, char **argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
evas_init();
|
||||||
s = evas_suite_build(argc - 1, (const char **)argv + 1);
|
s = evas_suite_build(argc - 1, (const char **)argv + 1);
|
||||||
sr = srunner_create(s);
|
sr = srunner_create(s);
|
||||||
|
|
||||||
|
@ -100,5 +101,6 @@ main(int argc, char **argv)
|
||||||
failed_count = srunner_ntests_failed(sr);
|
failed_count = srunner_ntests_failed(sr);
|
||||||
srunner_free(sr);
|
srunner_free(sr);
|
||||||
|
|
||||||
|
evas_shutdown();
|
||||||
return (failed_count == 0) ? 0 : 255;
|
return (failed_count == 0) ? 0 : 255;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
START_TEST(evas_simple)
|
START_TEST(evas_simple)
|
||||||
{
|
{
|
||||||
fail_if(evas_init() != 1); /* one init by test suite */
|
|
||||||
fail_if(evas_shutdown() != 0);
|
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue