efl/emotion_test: hint that we can be running from inside the build tree.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 11 Jan 2013 04:23:01 +0000 (04:23 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 11 Jan 2013 04:23:01 +0000 (04:23 +0000)
otherwise evas modules won't be found.

SVN revision: 82608

src/tests/emotion/emotion_test_main.c

index 651deae..3865027 100644 (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;