match partial test words in elm_test

SVN revision: 65544
This commit is contained in:
Mike Blumenkrantz 2011-11-23 23:14:12 +00:00
parent 1ec974561d
commit d40045cceb
1 changed files with 2 additions and 1 deletions

View File

@ -506,8 +506,9 @@ add_tests:
if (autorun)
{
size_t alen = strlen(autorun);
EINA_LIST_FOREACH(tests, l, t)
if ((t->name) && (t->cb) && (!strcasecmp(t->name, autorun)))
if ((t->name) && (t->cb) && (!strncasecmp(t->name, autorun, alen)))
t->cb(NULL, NULL, NULL);
}