Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3739:651b261e591d | 3740:e451d5d288e9 |
---|---|
949 * This testsuite is tricky, we're creating a testsuite per driver, the thing | 949 * This testsuite is tricky, we're creating a testsuite per driver, the thing |
950 * is we do quite a of stuff outside of the actual testcase which *could* | 950 * is we do quite a of stuff outside of the actual testcase which *could* |
951 * give issues. Don't like that very much, but no way around without creating | 951 * give issues. Don't like that very much, but no way around without creating |
952 * superfluous testsuites. | 952 * superfluous testsuites. |
953 */ | 953 */ |
954 #ifdef TEST_STANDALONE | |
954 int main( int argc, const char *argv[] ) | 955 int main( int argc, const char *argv[] ) |
955 { | 956 { |
956 (void) argc; | 957 (void) argc; |
957 (void) argv; | 958 (void) argv; |
959 #else /* TEST_STANDALONE */ | |
960 int test_render (void) | |
961 { | |
962 #endif /* TEST_STANDALONE */ | |
958 int i, j, nd, nr; | 963 int i, j, nd, nr; |
959 int ret; | 964 int ret; |
960 const char *driver, *str; | 965 const char *driver, *str; |
961 char msg[256]; | 966 char msg[256]; |
962 SDL_WindowID wid; | 967 SDL_WindowID wid; |