dump test names.

SVN revision: 29861
This commit is contained in:
Sebastian Dransfeld 2007-05-05 07:37:08 +00:00
parent eea11312db
commit 90510b648a
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,4 @@
/* vim: set sw=4 ts=4 sts=4 et: */
#include "Efreet.h"
#include <Ecore.h>
#include <stdio.h>
@ -110,7 +111,18 @@ main(int argc, char ** argv)
{
run = ecore_list_new();
for (i = 1; i < argc; i++)
{
if ((!strcmp(argv[i], "-h")) ||
(!strcmp(argv[i], "--help")))
{
for (i = 0; tests[i].name != NULL; i++)
{
printf("%s\n", tests[i].name);
}
return 1;
}
ecore_list_append(run, argv[i]);
}
}
environment_store();