Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/text
Modified Files:
ewl_text.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/text/ewl_text.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_text.c 5 Sep 2007 18:33:25 -0000 1.12
+++ ewl_text.c 11 Nov 2007 08:03:40 -0000 1.13
@@ -90,10 +90,10 @@
static int text_invalid_utf8_set_get(char *buf, int len);
static Ewl_Unit_Test text_unit_tests[] = {
- {"text set/get", text_test_set_get, -1, NULL},
- {"valid UTF-8 text set/get", text_valid_utf8_set_get, -1, NULL},
- {"invalid UTF-8 text set/get", text_invalid_utf8_set_get, -1,
NULL},
- {NULL, NULL, -1, NULL}
+ {"text set/get", text_test_set_get, NULL, -1, 0},
+ {"valid UTF-8 text set/get", text_valid_utf8_set_get, NULL, -1,
0},
+ {"invalid UTF-8 text set/get", text_invalid_utf8_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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs