Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/label


Modified Files:
        ewl_label.c 


Log Message:
Add a quiet flag to unit tests to suppress stderr.
Test for quiet flag and temporarily redirect stderr to /dev/null.
Allow disabling the stderr redirect by passing the -d arg.
Re-order unit test fields to eliminate holes.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/label/ewl_label.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_label.c 9 Nov 2007 03:30:56 -0000       1.4
+++ ewl_label.c 11 Nov 2007 08:03:39 -0000      1.5
@@ -16,10 +16,10 @@
 static int label_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test label_unit_tests[] = {
-               {"label null get", label_null_test_get, -1, NULL},
-               {"label null set/get", label_null_test_set_get, -1, NULL},
-               {"label set/get", label_test_set_get, -1, NULL},
-               {NULL, NULL, -1, NULL}
+               {"label null get", label_null_test_get, NULL, -1, 0},
+               {"label null set/get", label_null_test_set_get, NULL, -1, 0},
+               {"label set/get", label_test_set_get, NULL, -1, 0},
+               {NULL, NULL, NULL, -1, 0}
        };
 
 void



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to