)]}'
{
  "commit": "dbbfabb441556497f3ee9d89cf74bdc4a7a4c83c",
  "tree": "18ff359d16234e6823b471bfd6950f3943767f19",
  "parents": [
    "88bfe6ac8bcbaf1eb0c1e4be02c21a5c048b7335"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri Nov 03 11:51:37 2023 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri Nov 03 14:25:59 2023 -0400"
  },
  "message": "gdbsupport: record and print failed selftest names\n\nSince \"maint selftest\" now runs quite a lot of tests (especially in an\nall-targets build), I thought it would be useful to print a summary at\nthe end of what failed.  So, implement that.\n\nPrint the summary before the \"Ran %d unit tests, %zu failed\\n\" line, so\nthat that one remains the last line, and the gdb.gdb/unittest.exp\ndoesn\u0027t need to be changed.\n\nThe output looks like (if I force a failure in a test):\n\n    (gdb) maint selftest\n    ...\n    Running selftest value_copy.\n    Running selftest xml_escape_text.\n    Running selftest xml_escape_text_append.\n\n    Failures:\n      aarch64-analyze-prologue\n\n    Ran 4134 unit tests, 1 failed\n    (gdb)\n\nChange-Id: If3aaabdd6f8078d0e6e50e8d08f3e558ab85277e\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c2e3936614591841197dcd402205e57f9cb02df5",
      "old_mode": 33188,
      "old_path": "gdbsupport/selftest.cc",
      "new_id": "15c52421b8013b0925fea36e58b0183a0c4ce1f7",
      "new_mode": 33188,
      "new_path": "gdbsupport/selftest.cc"
    }
  ]
}
