summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-10-23 19:24:38 +0100
committerAndy Williams <andy@andywilliams.me>2017-10-23 19:24:38 +0100
commit7e5bbc0e4ce0112928b69a5603adb12fb803a962 (patch)
treed900321f40c2972c1b4a50fb8c645b95f584d3e7
parente4b1aca87df94b6fc04de1dc05708f6014a0c0ae (diff)
remove tabs
-rw-r--r--src/bin/efler_main.c6
-rw-r--r--src/lib/efler.c10
-rw-r--r--src/tests/test_efler.c26
3 files changed, 21 insertions, 21 deletions
diff --git a/src/bin/efler_main.c b/src/bin/efler_main.c
index a1c0e90..354a9d7 100644
--- a/src/bin/efler_main.c
+++ b/src/bin/efler_main.c
@@ -675,12 +675,12 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
675 args = ecore_getopt_parse(&optdesc, values, argc, argv); 675 args = ecore_getopt_parse(&optdesc, values, argc, argv);
676 if (args < 0) 676 if (args < 0)
677 { 677 {
678 EINA_LOG_CRIT("Could not parse arguments."); 678 EINA_LOG_CRIT("Could not parse arguments.");
679 goto end; 679 goto end;
680 } 680 }
681 else if (quit_option) 681 else if (quit_option)
682 { 682 {
683 goto end; 683 goto end;
684 } 684 }
685 685
686 if (args < argc) 686 if (args < argc)
diff --git a/src/lib/efler.c b/src/lib/efler.c
index b28d135..67b83c4 100644
--- a/src/lib/efler.c
+++ b/src/lib/efler.c
@@ -47,8 +47,8 @@ efler_init(void)
47 _efler_lib_log_dom = eina_log_domain_register("efler", EINA_COLOR_GREEN); 47 _efler_lib_log_dom = eina_log_domain_register("efler", EINA_COLOR_GREEN);
48 if (_efler_lib_log_dom < 0) 48 if (_efler_lib_log_dom < 0)
49 { 49 {
50 EINA_LOG_ERR("efler can not create its log domain."); 50 EINA_LOG_ERR("efler can not create its log domain.");
51 goto shutdown_eina; 51 goto shutdown_eina;
52 } 52 }
53 53
54 _efler_apps_add("efl", "EFL", "v1.20.5", "core/efl", "autogen", 54 _efler_apps_add("efl", "EFL", "v1.20.5", "core/efl", "autogen",
@@ -61,7 +61,7 @@ efler_init(void)
61 _efler_apps_add("clouseau", "Clouseau", "v0.2.1", "tools/clouseau", "autogen", 61 _efler_apps_add("clouseau", "Clouseau", "v0.2.1", "tools/clouseau", "autogen",
62 "A UI inspection tool for the EFL. This tool lets you inspect UI elements and get a lot of their properties"); 62 "A UI inspection tool for the EFL. This tool lets you inspect UI elements and get a lot of their properties");
63 _efler_apps_add("econnman", "EConnMan", "v1.1.0", "apps/econnman", "autogen", 63 _efler_apps_add("econnman", "EConnMan", "v1.1.0", "apps/econnman", "autogen",
64 "A user interface for ConnMan network administration"); 64 "A user interface for ConnMan network administration");
65 _efler_apps_add("ecrire", "Ecrire", NULL, "apps/ecrire", "cmake", 65 _efler_apps_add("ecrire", "Ecrire", NULL, "apps/ecrire", "cmake",
66 "A text editor build with the EFL"); 66 "A text editor build with the EFL");
67 _efler_apps_add("edi", "Edi", "v0.6.0", "tools/edi", "autogen", 67 _efler_apps_add("edi", "Edi", "v0.6.0", "tools/edi", "autogen",
@@ -104,8 +104,8 @@ efler_shutdown(void)
104 if (_efler_init != 0) return _efler_init; 104 if (_efler_init != 0) return _efler_init;
105 105
106 eina_log_timing(_efler_lib_log_dom, 106 eina_log_timing(_efler_lib_log_dom,
107 EINA_LOG_STATE_START, 107 EINA_LOG_STATE_START,
108 EINA_LOG_STATE_SHUTDOWN); 108 EINA_LOG_STATE_SHUTDOWN);
109 109
110 EINA_LIST_FREE(_apps_list, app) 110 EINA_LIST_FREE(_apps_list, app)
111 { 111 {
diff --git a/src/tests/test_efler.c b/src/tests/test_efler.c
index cfeb2ae..44a7d70 100644
--- a/src/tests/test_efler.c
+++ b/src/tests/test_efler.c
@@ -144,33 +144,33 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
144 args = ecore_getopt_parse(&optdesc, values, argc, argv); 144 args = ecore_getopt_parse(&optdesc, values, argc, argv);
145 if (args < 0) 145 if (args < 0)
146 { 146 {
147 EINA_LOG_CRIT("Could not parse arguments."); 147 EINA_LOG_CRIT("Could not parse arguments.");
148 goto end; 148 goto end;
149 } 149 }
150 else if (quit_option) 150 else if (quit_option)
151 { 151 {
152 goto end; 152 goto end;
153 } 153 }
154 else if (list_option) 154 else if (list_option)
155 { 155 {
156 fprintf(stdout, "Available tests :\n"); 156 fprintf(stdout, "Available tests :\n");
157 for (i = 0; i < sizeof (tests) / sizeof (tests[0]); i++) 157 for (i = 0; i < sizeof (tests) / sizeof (tests[0]); i++)
158 fprintf(stdout, "\t%s\n", tests[i].name); 158 fprintf(stdout, "\t%s\n", tests[i].name);
159 goto end; 159 goto end;
160 } 160 }
161 161
162 s = suite_create("efler"); 162 s = suite_create("efler");
163 163
164 for (i = 0; i < sizeof (tests) / sizeof (tests[0]); i++) 164 for (i = 0; i < sizeof (tests) / sizeof (tests[0]); i++)
165 { 165 {
166 if (test && strcmp(tests[i].name, test)) 166 if (test && strcmp(tests[i].name, test))
167 continue ; 167 continue ;
168 168
169 tc = tcase_create(tests[i].name); 169 tc = tcase_create(tests[i].name);
170 tcase_set_timeout(tc, 0); 170 tcase_set_timeout(tc, 0);
171 171
172 tests[i].build(tc); 172 tests[i].build(tc);
173 suite_add_tcase(s, tc); 173 suite_add_tcase(s, tc);
174 } 174 }
175 175
176 sr = srunner_create(s); 176 sr = srunner_create(s);