testiconv: Print the total number of errors at the end
diff --git a/test/testiconv.c b/test/testiconv.c
index 31d05e1..883f8ee 100644
--- a/test/testiconv.c
+++ b/test/testiconv.c
@@ -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);
}