From: Tom Hacohen Date: Tue, 16 Apr 2013 12:56:48 +0000 (+0100) Subject: Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR. X-Git-Tag: submit/efl/20131015.063327~1283 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14f7c774ffb26a2fc5fce38bf659239cc42ae7f5;p=platform%2Fupstream%2Fefl.git Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR. --- 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) if (is_local == -1) { struct stat st; - is_local = (stat(PACKAGE_BUILD_DIR"/src/tests/edje/data/test_layout.edj", &st) == 0); + is_local = (stat(TESTS_BUILD_DIR"/data/test_layout.edj", &st) == 0); } if (is_local) - return PACKAGE_BUILD_DIR"/src/tests/edje/data/test_layout.edj"; + return TESTS_BUILD_DIR"/data/test_layout.edj"; else return PACKAGE_DATA_DIR"/data/test_layout.edj"; }