Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/image
Modified Files:
ewl_image.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/image/ewl_image.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_image.c 23 Aug 2007 05:26:45 -0000 1.9
+++ ewl_image.c 11 Nov 2007 08:03:39 -0000 1.10
@@ -98,11 +98,11 @@
static int constrain_test_set_get(char *buf, int len);
static Ewl_Unit_Test image_unit_tests[] = {
- {"image path set/get", path_test_set_get, -1, NULL},
- {"image scale set/get", scale_test_set_get, -1, NULL},
- {"image size set/get", size_test_set_get, -1, NULL},
- {"image constrain set/get", constrain_test_set_get, -1, NULL},
- {NULL, NULL, -1, NULL}
+ {"image path set/get", path_test_set_get, NULL, -1, 0},
+ {"image scale set/get", scale_test_set_get, NULL, -1, 0},
+ {"image size set/get", size_test_set_get, NULL, -1, 0},
+ {"image constrain set/get", constrain_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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs