Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: - make sure we have a test function if this isn't a unit test =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- main.c 10 Mar 2006 18:36:44 -0000 1.14 +++ main.c 10 Mar 2006 18:40:45 -0000 1.15 @@ -182,6 +182,13 @@ t = data; + /* make sure we have a function if we aren't a straight unit test */ + if ((t->type != EWL_TEST_TYPE_UNIT) && (!t->func)) + { + printf("Warning: Not UI test function defined.\n"); + return; + } + fill_source_text(t); setup_unit_tests(t); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs