only run one test

SVN revision: 65554
This commit is contained in:
Mike Blumenkrantz 2011-11-24 03:22:32 +00:00
parent 54efa8cf9a
commit 0958bb17a7
1 changed files with 7 additions and 2 deletions

View File

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