瀏覽代碼

testiconv: Print the total number of errors at the end

Cameron Cawley 2 年之前
父節點
當前提交
3a6b7c9c69
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      test/testiconv.c

+ 2 - 0
test/testiconv.c

@@ -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);
 }
 }