tasn pushed a commit to branch master.

commit 14f7c774ffb26a2fc5fce38bf659239cc42ae7f5
Author: Tom Hacohen <[email protected]>
Date:   Tue Apr 16 13:56:48 2013 +0100

    Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR.
---
 src/tests/edje/edje_test_edje.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index c02419c..3524a17 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";
 }

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to