Commit 3a6b7c9c69323bc976db2c1b798db0bc3d0d73b7

Cameron Cawley 2022-09-24T16:55:10

testiconv: Print the total number of errors at the end

1
2
3
4
5
6
7
8
9
10
11
12
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);
 }