SDL: testiconv: Print the total number of errors at the end

From 3a6b7c9c69323bc976db2c1b798db0bc3d0d73b7 Mon Sep 17 00:00:00 2001
From: Cameron Cawley <[EMAIL REDACTED]>
Date: Sat, 24 Sep 2022 16:55:10 +0100
Subject: [PATCH] testiconv: Print the total number of errors at the end

---
 test/testiconv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/testiconv.c b/test/testiconv.c
index 31d05e1951e5..883f8eedfbdd 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);
 }