Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
main.c
Log Message:
Fix option parsing in ewl_test to enable profile timing and add associated help.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- main.c 3 Dec 2007 04:55:41 -0000 1.91
+++ main.c 8 Dec 2007 06:53:21 -0000 1.92
@@ -137,12 +137,15 @@
"\t-all\tRun tests for all widgets\n"
"\t-help\tDisplay this help text\n"
"\t-list\tPrint available tests\n"
+ "\t-profile\tTime test results\n"
"\t-p\tHide passed test information\n"
"\t-d\tEnable all debugging output\n"
"\t-unit\tRun unit tests\n",
argv[0]);
exit(0);
}
+ else if (!strncmp(argv[i], "-profile", 8))
+ profile_tests = 1;
else if (!strncmp(argv[i], "-p", 2))
hide_passed = 1;
else if (!strncmp(argv[i], "-d", 2))
@@ -154,8 +157,6 @@
unit_test = 1;
setenv("EWL_ENGINE_NAME", "evas_buffer", 1);
}
- else if (!strncmp(argv[i], "-profile", 8))
- profile_tests = 1;
}
/* initialize the ewl library */
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs