mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 19:03:27 +08:00
testiconv: Print the total number of errors at the end
This commit is contained in:
parent
8d2cb1555e
commit
3a6b7c9c69
@ -86,5 +86,7 @@ main(int argc, char *argv[])
|
||||
SDL_free(test[0]);
|
||||
}
|
||||
fclose(file);
|
||||
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Total errors: %d\n", errors);
|
||||
return (errors ? errors + 1 : 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user