)]}'
{
  "commit": "e2dc08c6f0642ca2c94e91997a8d4e971bea9971",
  "tree": "af771a6eab4dba0169074df0a0479d6d43498c57",
  "parents": [
    "5e8b4bbcc8593e1f1f81c4fd3562d637a07ee0cc"
  ],
  "author": {
    "name": "Nick Alcock",
    "email": "nick.alcock@oracle.com",
    "time": "Mon Nov 14 14:17:55 2022 +0000"
  },
  "committer": {
    "name": "Nick Alcock",
    "email": "nick.alcock@oracle.com",
    "time": "Thu Jan 12 14:40:47 2023 +0000"
  },
  "message": "libctf: skip the testsuite from inside dejagnu\n\nThe libctf testsuite uses Tcl try/catch to trap run_output errors.  This\nis only supported in reasonably recent Tcls, so we detect the lack of\ntry/catch and suppress the testsuite via an Automake conditional in its\nabsence.\n\nBut this turns out not to work: Automake produces a check-DEJAGNU target\nregardless of the value of this conditional and sticks it in an\nunconditionally-executed part of the makefile, so the testsuite gets\nexecuted anyway, and fails with a nasty-looking syntax error.  We can\u0027t\ndisable it by taking \"dejagnu\" out of AUTOMAKE_OPTIONS, because if you\ndo that Automake stops you using RUNTEST, RUNTESTFLAGS and other\nvariables users would expect to work.\n\nSo move to disabling the testsuite from inside the testsuite itself,\nimporting the value of the former Automake conditional as a Tcl variable\nand exiting very early in default.exp if it\u0027s false.\n\n\t* configure.ac (TCL_TRY): No longer an Automake conditional.\n\tRename to...\n\t(HAVE_TCL_TRY): ... this.\n\t* Makefile.am: Drop TCL_TRY.\n\t(development.exp): Set have_tcl_try.\n\t* testsuite/config/default.exp: Exit if have_tcl_try is false.\n\n\t* configure: Regenerated.\n\t* Makefile.in: Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c4809f70bae0a42dc68687c7c3a000b735f3156f",
      "old_mode": 33188,
      "old_path": "libctf/Makefile.am",
      "new_id": "c959b09e4924b55fc4f0a4c7dea79b91e079ee58",
      "new_mode": 33188,
      "new_path": "libctf/Makefile.am"
    },
    {
      "type": "modify",
      "old_id": "f2b852e3fae33f7652f939ee11ae15ab832776ac",
      "old_mode": 33188,
      "old_path": "libctf/Makefile.in",
      "new_id": "c6cb55c9768aa943ed0f585d455a0727e0ab7ad6",
      "new_mode": 33188,
      "new_path": "libctf/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "17463a74ccac73b2340392701492843412438f8f",
      "old_mode": 33261,
      "old_path": "libctf/configure",
      "new_id": "c22f7dffd2cf2ee37148f61369364cf80eb0081d",
      "new_mode": 33261,
      "new_path": "libctf/configure"
    },
    {
      "type": "modify",
      "old_id": "a0148a4c328675894f76a7e3797584b2f07d5914",
      "old_mode": 33188,
      "old_path": "libctf/configure.ac",
      "new_id": "1d0cf4d0fa57cb8921b392f7f6b1b421469e73ae",
      "new_mode": 33188,
      "new_path": "libctf/configure.ac"
    },
    {
      "type": "modify",
      "old_id": "4bac9c4281c005a4cbc468f44e5e75cdfd96c1d7",
      "old_mode": 33188,
      "old_path": "libctf/testsuite/config/default.exp",
      "new_id": "357c4ee57f1b672905d6888386a263cde2720c17",
      "new_mode": 33188,
      "new_path": "libctf/testsuite/config/default.exp"
    }
  ]
}
