summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_evasgl.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-27 13:51:13 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:26 +0200
commit624925fe6e9c72c639d47135d5ea70d4110ac1fe (patch)
treeb57c12a611bf3b4b492327a7fcb5722cd39dad5b /src/tests/evas/evas_test_evasgl.c
parent730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5 (diff)
tests: move to using checked fixtures for all test suites
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/evas/evas_test_evasgl.c')
-rw-r--r--src/tests/evas/evas_test_evasgl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/evas/evas_test_evasgl.c b/src/tests/evas/evas_test_evasgl.c
index b3e8305cc0..603ed874f1 100644
--- a/src/tests/evas/evas_test_evasgl.c
+++ b/src/tests/evas/evas_test_evasgl.c
@@ -42,7 +42,6 @@ _detect_osmesa(void)
42 Ecore_Evas *ee; Evas *evas; Evas_Object *im = NULL; \ 42 Ecore_Evas *ee; Evas *evas; Evas_Object *im = NULL; \
43 if (!strcmp(engine, "buffer") && !_detect_osmesa()) return; \ 43 if (!strcmp(engine, "buffer") && !_detect_osmesa()) return; \
44 putenv("EVAS_GL_API_DEBUG=1"); \ 44 putenv("EVAS_GL_API_DEBUG=1"); \
45 ecore_evas_init(); \
46 if (!options || !strcmp(engine, "buffer")) ee = ecore_evas_new(engine, 0, 0, 1, 1, NULL); \ 45 if (!options || !strcmp(engine, "buffer")) ee = ecore_evas_new(engine, 0, 0, 1, 1, NULL); \
47 else ee = ecore_evas_gl_x11_options_new(NULL, 0, 0, 0, 1, 1, options); \ 46 else ee = ecore_evas_gl_x11_options_new(NULL, 0, 0, 0, 1, 1, options); \
48 if (!ee) { printf("Could not create ecore evas. Skipping Evas GL tests.\n"); \ 47 if (!ee) { printf("Could not create ecore evas. Skipping Evas GL tests.\n"); \
@@ -60,7 +59,6 @@ _detect_osmesa(void)
60 init_failed: \ 59 init_failed: \
61 evas_object_del(im); \ 60 evas_object_del(im); \
62 ecore_evas_free(ee); \ 61 ecore_evas_free(ee); \
63 ecore_evas_shutdown(); \
64 do {} while (0) 62 do {} while (0)
65 63
66static void 64static void