summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_config.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-06 23:43:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-07 02:32:15 +0900
commit9c8749b99a03d3601321da6d16071dd7b631d1ae (patch)
tree1baee8a41dfe32bd6bb2f155564ae04c08fb086b /src/tests/elementary/elm_test_config.c
parent6865ad177368cdc54b587ab0979f39b20ff61552 (diff)
ecore - go back to args 0 being the command and 1+ being actual args
so this is then inconsistent with efl.exe and efl.thread, so go back to being normal with 0'th arg being the binary itself jsut to make sure we have conistent usage.
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_config.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c
index 15a7998..12813b0 100644
--- a/src/tests/elementary/elm_test_config.c
+++ b/src/tests/elementary/elm_test_config.c
@@ -11,7 +11,8 @@ typedef unsigned int uint;
11 11
12START_TEST (elm_config_eoapi) 12START_TEST (elm_config_eoapi)
13{ 13{
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 16
16 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 17 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
17 fail_if(!cfg); 18 fail_if(!cfg);
@@ -148,7 +149,8 @@ END_TEST
148 149
149START_TEST (elm_config_win) 150START_TEST (elm_config_win)
150{ 151{
151 elm_init(1, NULL); 152 char *args[] = { "exe" };
153 elm_init(1, args);
152 154
153 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 155 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
154 fail_if(!cfg); 156 fail_if(!cfg);
@@ -180,7 +182,8 @@ _eina_list_string_has(const Eina_List *list, const char *str)
180 182
181START_TEST (elm_config_profiles) 183START_TEST (elm_config_profiles)
182{ 184{
183 elm_init(1, NULL); 185 char *args[] = { "exe" };
186 elm_init(1, args);
184 187
185 // this only tests some of the profile APIs. we're not going to mess with 188 // this only tests some of the profile APIs. we're not going to mess with
186 // the global config during make check :) 189 // the global config during make check :)