diff test/automated/rwops/rwops.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 9689eaa6d2e3
children 808fad5fb593
line wrap: on
line diff
--- a/test/automated/rwops/rwops.c	Sun Aug 02 15:49:55 2009 +0000
+++ b/test/automated/rwops/rwops.c	Sun Aug 02 16:01:23 2009 +0000
@@ -249,10 +249,15 @@
 /**
  * @brief Entry point.
  */
+#ifdef TEST_STANDALONE
 int main( int argc, const char *argv[] )
 {
    (void) argc;
    (void) argv;
+#else /* TEST_STANDALONE */
+int test_rwops (void)
+{
+#endif /* TEST_STANDALONE */
 
    SDL_ATinit( "SDL_RWops" );