summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-10-30 11:54:05 +0000
committerTom Hacohen <tom@stosb.com>2012-10-30 11:54:05 +0000
commitbb68f2db602bf25c8857f4737a00e7439d6d266c (patch)
treefa77db50cf658d2448ceec0a145afff03c44822d
parent2bd953a4ab14602e48d683f0877077deef04a645 (diff)
Evas textblock: tests should now work a bit better.
SVN revision: 78645
-rw-r--r--legacy/evas/src/tests/evas_suite.c2
-rw-r--r--legacy/evas/src/tests/evas_test_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/src/tests/evas_suite.c b/legacy/evas/src/tests/evas_suite.c
index 55f4123289..0d3300c560 100644
--- a/legacy/evas/src/tests/evas_suite.c
+++ b/legacy/evas/src/tests/evas_suite.c
@@ -93,6 +93,7 @@ main(int argc, char **argv)
93 return 0; 93 return 0;
94 } 94 }
95 95
96 evas_init();
96 s = evas_suite_build(argc - 1, (const char **)argv + 1); 97 s = evas_suite_build(argc - 1, (const char **)argv + 1);
97 sr = srunner_create(s); 98 sr = srunner_create(s);
98 99
@@ -100,5 +101,6 @@ main(int argc, char **argv)
100 failed_count = srunner_ntests_failed(sr); 101 failed_count = srunner_ntests_failed(sr);
101 srunner_free(sr); 102 srunner_free(sr);
102 103
104 evas_shutdown();
103 return (failed_count == 0) ? 0 : 255; 105 return (failed_count == 0) ? 0 : 255;
104} 106}
diff --git a/legacy/evas/src/tests/evas_test_init.c b/legacy/evas/src/tests/evas_test_init.c
index f4271ecbc3..7637d9cb2a 100644
--- a/legacy/evas/src/tests/evas_test_init.c
+++ b/legacy/evas/src/tests/evas_test_init.c
@@ -10,8 +10,6 @@
10 10
11START_TEST(evas_simple) 11START_TEST(evas_simple)
12{ 12{
13 fail_if(evas_init() != 1); /* one init by test suite */
14 fail_if(evas_shutdown() != 0);
15} 13}
16END_TEST 14END_TEST
17 15