aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/tests/evas_test_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/evas/src/tests/evas_test_init.c')
-rw-r--r--libraries/evas/src/tests/evas_test_init.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/evas/src/tests/evas_test_init.c b/libraries/evas/src/tests/evas_test_init.c
new file mode 100644
index 0000000..f4271ec
--- /dev/null
+++ b/libraries/evas/src/tests/evas_test_init.c
@@ -0,0 +1,21 @@
1
2#ifdef HAVE_CONFIG_H
3# include "config.h"
4#endif
5
6#include <stdio.h>
7
8#include "evas_suite.h"
9#include "Evas.h"
10
11START_TEST(evas_simple)
12{
13 fail_if(evas_init() != 1); /* one init by test suite */
14 fail_if(evas_shutdown() != 0);
15}
16END_TEST
17
18void evas_test_init(TCase *tc)
19{
20 tcase_add_test(tc, evas_simple);
21}