Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_filepicker.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/filepicker/ewl_filepicker.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_filepicker.c    23 Aug 2007 05:26:44 -0000      1.8
+++ ewl_filepicker.c    11 Nov 2007 08:03:39 -0000      1.9
@@ -76,9 +76,9 @@
 static int directory_test_path_split(char *buf, int len);
 
 static Ewl_Unit_Test filepicker_unit_tests[] = {
-               {"directory set/get", directory_test_set_get, -1, NULL},
-               {"directory path split", directory_test_path_split, -1, NULL},
-               {NULL, NULL, -1, NULL}
+               {"directory set/get", directory_test_set_get, NULL, -1, 0},
+               {"directory path split", directory_test_path_split, 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