Eina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR.

This commit is contained in:
Tom Hacohen 2013-04-16 13:56:48 +01:00
parent 763bdd1618
commit 14f7c774ff
1 changed files with 2 additions and 2 deletions

View File

@ -45,11 +45,11 @@ test_layout_get(void)
if (is_local == -1) if (is_local == -1)
{ {
struct stat st; 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) if (is_local)
return PACKAGE_BUILD_DIR"/src/tests/edje/data/test_layout.edj"; return TESTS_BUILD_DIR"/data/test_layout.edj";
else else
return PACKAGE_DATA_DIR"/data/test_layout.edj"; return PACKAGE_DATA_DIR"/data/test_layout.edj";
} }