Mercurial > sdl-ios-xcode
diff test/automated/surface/surface.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 | b7590cd5969d |
children | 808fad5fb593 |
line wrap: on
line diff
--- a/test/automated/surface/surface.c Sun Aug 02 15:49:55 2009 +0000 +++ b/test/automated/surface/surface.c Sun Aug 02 16:01:23 2009 +0000 @@ -545,10 +545,15 @@ /** * @brief Entry point. */ +#ifdef TEST_STANDALONE int main( int argc, const char *argv[] ) { (void) argc; (void) argv; +#else /* TEST_STANDALONE */ +int test_surface (void) +{ +#endif /* TEST_STANDALONE */ int ret; SDL_Surface *testsur;