summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index adae27b52c..f4400695e5 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -409,6 +409,7 @@ static void *tt;
static Eina_List *tests, *cur_test;;
static Eina_Bool hide_legacy = EINA_FALSE;
static Eina_Bool hide_beta = EINA_FALSE;
+static Eina_Bool all_tests = EINA_FALSE;
struct elm_test
{
@@ -580,6 +581,7 @@ _menu_create(const char *option_str)
}
pcat = t->category;
if (t == tt) tt = cfr;
+ if (all_tests) t->cb(NULL, NULL, NULL);
}
}
@@ -1444,6 +1446,8 @@ efl_main(void *data EINA_UNUSED,
{
test_win_only = EINA_TRUE;
}
+ else if (eina_streq(arg, "--all") || eina_streq(arg, "-a"))
+ all_tests = EINA_TRUE;
else if ((i == eina_array_count(arge->argv) - 1) && (arg[0] != '-'))
autorun = arg;