summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-24 13:18:35 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-24 13:18:35 +0900
commit9f9cd4c200ebe69f2cd8ee8ef463855409d7d3ea (patch)
tree502d7912a540b1448002104fac1691da8e8c9a3e
parent18cccd87985566be84431e4ef97e7cce6aad7af3 (diff)
elm test - unbreak elm test ...
7ebcb710d2776a0bbd905552226dc1141a18ef7d / 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... :)
-rw-r--r--src/bin/elementary/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 07af101a7f..a3e10f85fe 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -1333,11 +1333,11 @@ efl_main(void *data EINA_UNUSED,
1333 { 1333 {
1334 /* Just a workaround to make the shot module more 1334 /* Just a workaround to make the shot module more
1335 * useful with elementary test. */ 1335 * useful with elementary test. */
1336 if ((!strcmp(eina_array_data_get(arge->argv, 2), "--test-win-only")) || 1336 if ((!strcmp(eina_array_data_get(arge->argv, 1), "--test-win-only")) ||
1337 (!strcmp(eina_array_data_get(arge->argv, 2), "-to"))) 1337 (!strcmp(eina_array_data_get(arge->argv, 1), "-to")))
1338 { 1338 {
1339 test_win_only = EINA_TRUE; 1339 test_win_only = EINA_TRUE;
1340 autorun = eina_array_data_get(arge->argv, 3); 1340 autorun = eina_array_data_get(arge->argv, 2);
1341 } 1341 }
1342 } 1342 }
1343 1343