diff test/automated/render/render.c @ 3740:e451d5d288e9 gsoc2009_unit_tests

Merged into one big app, while keeping modular applications also.
author Edgar Simo <bobbens@gmail.com>
date Sun, 02 Aug 2009 16:01:23 +0000
parents 651b261e591d
children 808fad5fb593
line wrap: on
line diff
--- a/test/automated/render/render.c	Sun Aug 02 15:49:55 2009 +0000
+++ b/test/automated/render/render.c	Sun Aug 02 16:01:23 2009 +0000
@@ -951,10 +951,15 @@
  *  give issues. Don't like that very much, but no way around without creating
  *  superfluous testsuites.
  */
+#ifdef TEST_STANDALONE
 int main( int argc, const char *argv[] )
 {
    (void) argc;
    (void) argv;
+#else /* TEST_STANDALONE */
+int test_render (void)
+{
+#endif /* TEST_STANDALONE */
    int i, j, nd, nr;
    int ret;
    const char *driver, *str;