test/testplatform.c
changeset 9383 62164ad0b7d5
parent 9356 e87d6e1e812a
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9382:1c0f6952e65e 9383:62164ad0b7d5
   165     SDL_assert_release(5 < 4);
   165     SDL_assert_release(5 < 4);
   166     SDL_assert_release(0 && "This is a test");
   166     SDL_assert_release(0 && "This is a test");
   167 #endif
   167 #endif
   168 
   168 
   169     {
   169     {
   170         const SDL_assert_data *item = SDL_GetAssertionReport();
   170         const SDL_AssertData *item = SDL_GetAssertionReport();
   171         while (item) {
   171         while (item) {
   172             SDL_Log("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n",
   172             SDL_Log("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n",
   173                 item->condition, item->function, item->filename,
   173                 item->condition, item->function, item->filename,
   174                 item->linenum, item->trigger_count,
   174                 item->linenum, item->trigger_count,
   175                 item->always_ignore ? "yes" : "no");
   175                 item->always_ignore ? "yes" : "no");