1 /********************************************************************
3 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
13 function: common test utilities
16 ********************************************************************/
24 { printf ("---- %s ...\n", (str)); }
27 { printf ("%s:%d: warning: %s\n", __FILE__, __LINE__, (str)); }
30 { printf ("%s:%d: %s\n", __FILE__, __LINE__, (str)); exit(1); }
33 #define MIN(a,b) ((a)<(b)?(a):(b))