summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/eolian_generation.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tests/eolian/eolian_generation.c b/src/tests/eolian/eolian_generation.c
index f3ccc71a6e..40ddb74567 100644
--- a/src/tests/eolian/eolian_generation.c
+++ b/src/tests/eolian/eolian_generation.c
@@ -72,15 +72,9 @@ _eolian_gen_execute(const char *eo_filename, const char *options, const char *ou
72 72
73 if (getenv("EFL_RUN_IN_TREE")) 73 if (getenv("EFL_RUN_IN_TREE"))
74 { 74 {
75#ifdef _WIN32
76 snprintf(eolian_gen_path, sizeof(eolian_gen_path), 75 snprintf(eolian_gen_path, sizeof(eolian_gen_path),
77 "%s/src/bin/eolian/eolian_gen.exe", 76 "%s/src/bin/eolian/eolian_gen%s",
78 PACKAGE_BUILD_DIR); 77 PACKAGE_BUILD_DIR, EXEEXT);
79#else
80 snprintf(eolian_gen_path, sizeof(eolian_gen_path),
81 "%s/src/bin/eolian/eolian_gen",
82 PACKAGE_BUILD_DIR);
83#endif
84 } 78 }
85 if (eolian_gen_path[0] == '\0') 79 if (eolian_gen_path[0] == '\0')
86 return -1; 80 return -1;