comparison test/automated/testsdl.c @ 4478:c84712de8433

Fixed revision type for SDL 1.3
author Sam Lantinga <slouken@libsdl.org>
date Mon, 05 Jul 2010 13:10:47 -0700
parents 1a99755b3b04
children
comparison
equal deleted inserted replaced
4477:f0f875be10d0 4478:c84712de8433
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();