summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/edje_test_edje.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index c02419c446..3524a17d44 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -45,11 +45,11 @@ test_layout_get(void)
45 if (is_local == -1) 45 if (is_local == -1)
46 { 46 {
47 struct stat st; 47 struct stat st;
48 is_local = (stat(PACKAGE_BUILD_DIR"/src/tests/edje/data/test_layout.edj", &st) == 0); 48 is_local = (stat(TESTS_BUILD_DIR"/data/test_layout.edj", &st) == 0);
49 } 49 }
50 50
51 if (is_local) 51 if (is_local)
52 return PACKAGE_BUILD_DIR"/src/tests/edje/data/test_layout.edj"; 52 return TESTS_BUILD_DIR"/data/test_layout.edj";
53 else 53 else
54 return PACKAGE_DATA_DIR"/data/test_layout.edj"; 54 return PACKAGE_DATA_DIR"/data/test_layout.edj";
55} 55}