Evas textblock: tests should now work a bit better.

SVN revision: 78645
This commit is contained in:
Tom Hacohen 2012-10-30 11:54:05 +00:00
parent 2bd953a4ab
commit bb68f2db60
2 changed files with 2 additions and 2 deletions

View File

@ -93,6 +93,7 @@ main(int argc, char **argv)
return 0;
}
evas_init();
s = evas_suite_build(argc - 1, (const char **)argv + 1);
sr = srunner_create(s);
@ -100,5 +101,6 @@ main(int argc, char **argv)
failed_count = srunner_ntests_failed(sr);
srunner_free(sr);
evas_shutdown();
return (failed_count == 0) ? 0 : 255;
}

View File

@ -10,8 +10,6 @@
START_TEST(evas_simple)
{
fail_if(evas_init() != 1); /* one init by test suite */
fail_if(evas_shutdown() != 0);
}
END_TEST