test/testplatform.c
changeset 5542 882871b2db1a
parent 5535 96594ac5fd1a
child 5638 198383360618
--- a/test/testplatform.c	Tue Apr 19 14:12:56 2011 -0400
+++ b/test/testplatform.c	Tue Apr 19 11:41:45 2011 -0700
@@ -172,6 +172,16 @@
     SDL_assert_release(0 && "This is a test");
 #endif
 
+    {
+        const SDL_assert_data *item = SDL_GetAssertionReport();
+        while (item) {
+            printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n",
+                item->condition, item->function, item->filename,
+                item->linenum, item->trigger_count,
+                item->always_ignore ? "yes" : "no");
+            item = item->next;
+        }
+    }
     return (0);
 }