Mercurial > sdl-ios-xcode
comparison test/automated/testsdl.c @ 4661:03dcb795c583
Merged changes from the main SDL codebase
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 12 Jul 2010 21:09:23 -0700 |
parents | c84712de8433 |
children |
comparison
equal
deleted
inserted
replaced
4660:b15e7017409b | 4661:03dcb795c583 |
---|---|
131 * @brief Main entry point. | 131 * @brief Main entry point. |
132 */ | 132 */ |
133 int main( int argc, char *argv[] ) | 133 int main( int argc, char *argv[] ) |
134 { | 134 { |
135 int failed; | 135 int failed; |
136 int rev; | 136 const char *rev; |
137 SDL_version ver; | 137 SDL_version ver; |
138 | 138 |
139 /* Get options. */ | 139 /* Get options. */ |
140 parse_options( argc, argv ); | 140 parse_options( argc, argv ); |
141 | 141 |
143 failed = 0; | 143 failed = 0; |
144 | 144 |
145 /* Print some text if verbose. */ | 145 /* Print some text if verbose. */ |
146 SDL_GetVersion( &ver ); | 146 SDL_GetVersion( &ver ); |
147 rev = SDL_GetRevision(); | 147 rev = SDL_GetRevision(); |
148 SDL_ATprintVerbose( 1, "Running tests with SDL %d.%d.%d revision %d\n", | 148 SDL_ATprintVerbose( 1, "Running tests with SDL %d.%d.%d revision %s\n", |
149 ver.major, ver.minor, ver.patch, rev ); | 149 ver.major, ver.minor, ver.patch, rev ); |
150 | 150 |
151 /* Automatic tests. */ | 151 /* Automatic tests. */ |
152 if (run_platform) | 152 if (run_platform) |
153 failed += test_platform(); | 153 failed += test_platform(); |