forked from enlightenment/efl
elm test - unbreak elm test ...
7ebcb710d2
/ D6668 breaks elm test. a
fix actually that breaks it even more. before only --help didn't
work... now -to/--test-win-only is broken which is the actually useful
option... :)
This commit is contained in:
parent
18cccd8798
commit
9f9cd4c200
|
@ -1333,11 +1333,11 @@ efl_main(void *data EINA_UNUSED,
|
||||||
{
|
{
|
||||||
/* Just a workaround to make the shot module more
|
/* Just a workaround to make the shot module more
|
||||||
* useful with elementary test. */
|
* useful with elementary test. */
|
||||||
if ((!strcmp(eina_array_data_get(arge->argv, 2), "--test-win-only")) ||
|
if ((!strcmp(eina_array_data_get(arge->argv, 1), "--test-win-only")) ||
|
||||||
(!strcmp(eina_array_data_get(arge->argv, 2), "-to")))
|
(!strcmp(eina_array_data_get(arge->argv, 1), "-to")))
|
||||||
{
|
{
|
||||||
test_win_only = EINA_TRUE;
|
test_win_only = EINA_TRUE;
|
||||||
autorun = eina_array_data_get(arge->argv, 3);
|
autorun = eina_array_data_get(arge->argv, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue