From: Enlightenment C. <no...@cv...> - 2007-11-10 19:17:25
|
Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: - output error if we forget the test =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -3 -r1.79 -r1.80 --- main.c 10 Nov 2007 12:53:27 -0000 1.79 +++ main.c 10 Nov 2007 19:17:23 -0000 1.80 @@ -188,6 +188,9 @@ if (!unit_test) ewl_main(); + else if (unit_test && !ran_test) + fprintf(stderr, "Must supply either -all parameter or test " + "name when running unit tests.\n"); if (tests) ecore_list_destroy(tests); if (tests_path_group) ecore_path_group_del(tests_path_group); |