summaryrefslogtreecommitdiff
path: root/src/tests/eolian/eolian_generation.c
diff options
context:
space:
mode:
authormichelle legrand <michelle.legrand@openwide.fr>2015-01-30 10:49:53 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-01-30 10:49:53 +0100
commit9431cde70e25ba40e7408ca11016e58977d09b2b (patch)
tree8354914ef4d6c732ad573d27ea6a495589483d40 /src/tests/eolian/eolian_generation.c
parent1d28bcdcf1f93af97dec85bdcfeae9674b6bb26c (diff)
downloadefl-9431cde70e25ba40e7408ca11016e58977d09b2b.tar.gz
eolian: fix to pass make check on windows
@fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/tests/eolian/eolian_generation.c')
-rw-r--r--src/tests/eolian/eolian_generation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/eolian/eolian_generation.c b/src/tests/eolian/eolian_generation.c
index 25fcddf53f..f3ccc71a6e 100644
--- a/src/tests/eolian/eolian_generation.c
+++ b/src/tests/eolian/eolian_generation.c
@@ -72,9 +72,15 @@ _eolian_gen_execute(const char *eo_filename, const char *options, const char *ou
if (getenv("EFL_RUN_IN_TREE"))
{
+#ifdef _WIN32
+ snprintf(eolian_gen_path, sizeof(eolian_gen_path),
+ "%s/src/bin/eolian/eolian_gen.exe",
+ PACKAGE_BUILD_DIR);
+#else
snprintf(eolian_gen_path, sizeof(eolian_gen_path),
"%s/src/bin/eolian/eolian_gen",
PACKAGE_BUILD_DIR);
+#endif
}
if (eolian_gen_path[0] == '\0')
return -1;