Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR.
authorTom Hacohen <tom@stosb.com>
Tue, 16 Apr 2013 12:56:48 +0000 (13:56 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 16 Apr 2013 12:57:00 +0000 (13:57 +0100)
src/tests/edje/edje_test_edje.c

index c02419c446b9a50c9ed10d07535d8ca1006f6329..3524a17d440c9b246e9d373f86728a3b48ebd77a 100644 (file)
@@ -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";
 }