summaryrefslogtreecommitdiff
path: root/src/tests/edje/edje_test_edje.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-07-29 20:00:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-29 20:22:35 +0900
commitb8a2a9b3c023d159d11243654fcd33c1b31e55fb (patch)
tree6c2d6a0b539d1ce8aabb654bb94e2c12d9b5770e /src/tests/edje/edje_test_edje.c
parent1f758ad96d0bf0b2250da4b8c28f9ecf89bc7ca1 (diff)
Evas filters: Fix make doc, check when EFL is not installed
Thanks @aerodynamik for even giving the proper environment variable to set :) Fixes T2614
Diffstat (limited to 'src/tests/edje/edje_test_edje.c')
-rw-r--r--src/tests/edje/edje_test_edje.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index d68a5d9608..bf32f6d2e2 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -13,6 +13,8 @@
13#include "edje_suite.h" 13#include "edje_suite.h"
14#include "edje_tests_helpers.h" 14#include "edje_tests_helpers.h"
15 15
16#define EVAS_DATA_DIR TESTS_SRC_DIR "/../../lib/evas"
17
16START_TEST(edje_test_edje_init) 18START_TEST(edje_test_edje_init)
17{ 19{
18 int ret; 20 int ret;
@@ -213,6 +215,8 @@ START_TEST(edje_test_filters)
213 const char *prg, *name; 215 const char *prg, *name;
214 Eina_Bool b; 216 Eina_Bool b;
215 217
218 setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1);
219
216 obj = edje_object_add(evas); 220 obj = edje_object_add(evas);
217 fail_unless(edje_object_file_set(obj, test_layout_get("test_filters.edj"), "test_group")); 221 fail_unless(edje_object_file_set(obj, test_layout_get("test_filters.edj"), "test_group"));
218 222