mirror of https://github.com/encounter/SDL.git
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]);
|
SDL_free(test[0]);
|
||||||
}
|
}
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
|
||||||
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Total errors: %d\n", errors);
|
||||||
return (errors ? errors + 1 : 0);
|
return (errors ? errors + 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue