Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_test_private.h Log Message: Provide a wrapper macro to give more information on failed tests. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/ewl_test_private.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_test_private.h 4 Jan 2007 05:09:39 -0000 1.2 +++ ewl_test_private.h 8 Dec 2007 05:09:02 -0000 1.3 @@ -10,4 +10,7 @@ #define __UNUSED__ #endif +#define LOG_FAILURE(buffer, len, format, args...) \ + snprintf(buf, len, "%s:%d " format, __FILE__, __LINE__, ## args) + #endif /* EWL_TEST_PRIVATE_H */ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs