On 09/28/2012 10:44 AM, Chad Versace wrote:
Memory allocation should rarely fail, but when it does the test should
immediately abort and explain why. This patch defines two utility wrapper
functions, piglit_malloc() and piglit_calloc(), that do exactly that when
allocation fails.
Signed-off-by:
Memory allocation should rarely fail, but when it does the test should
immediately abort and explain why. This patch defines two utility wrapper
functions, piglit_malloc() and piglit_calloc(), that do exactly that when
allocation fails.
Signed-off-by: Chad Versace chad.vers...@linux.intel.com
---