efl/emotion_test: hint that we can be running from inside the build tree.

otherwise evas modules won't be found.


SVN revision: 82608
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-11 04:23:01 +00:00
parent 4d2e52f939
commit 66829fa21e
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,7 @@ theme_get(void)
is_local = (stat(PACKAGE_BUILD_DIR"/src/tests/emotion/data/theme.edj", &st) == 0);
}
printf("\nis_local=%d %s\n\n", is_local, PACKAGE_BUILD_DIR"/src/tests/emotion/data/theme.edj");
if (is_local)
return PACKAGE_BUILD_DIR"/src/tests/emotion/data/theme.edj";
else
@ -702,6 +703,7 @@ main(int argc, char **argv)
ECORE_GETOPT_VALUE_NONE
};
putenv("EFL_RUN_IN_TREE=1");
if (!ecore_evas_init())
return -1;