)]}'
{
  "commit": "60903f1e03b3c70edaab418e60ab793f8e07173d",
  "tree": "1cc81d71d41cff729bf6a5257c0da2616de42956",
  "parents": [
    "3699452d60c6dfe483df4675c7e98299fe790ec4"
  ],
  "author": {
    "name": "Zohaib",
    "email": "98155885+syedzohaibshah@users.noreply.github.com",
    "time": "Mon Aug 10 16:14:56 2026 +0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 10 13:14:56 2026 +0200"
  },
  "message": "[LIT] Migrate runtime lit config to the internal shell (#24794)\n\nPart of #24607.\n\nThis switches `runtime/lit.cfg.py` to the internal shell and removes the\n`execute_external` / `force_execute_external` workaround. It\u0027s the first\nof the seven configs listed in the issue. I\u0027m doing one at a time so the\nfailures stay easy to review.\n\nThe internal shell has no subshells, so the `( ... )` wrappers in\n`flags_test.txt` were read as a command named `(` and the test died with\nexit 127. Two kinds of RUN lines needed fixing:\n\n- **26 lines** wrapped a single command in `( ... )` before piping to\nFileCheck. The subshell did nothing there, so I dropped the parentheses.\n- **3 lines** used `( cmd 2\u003e\u00261 || [[ $? \u003d\u003d 1 ]] )` to tolerate an\nexpected non-zero exit. Those now use `not`, which is the usual spelling\nfor expected-failure RUN lines and also asserts the command really does\nfail. `not` is declared in the suite\u0027s tools, the same way\n`tools/test/BUILD.bazel` does it.\n\nSame commands and same FileCheck prefixes, so no coverage is lost.\n\n## Testing\n\n\nctest -R\n\"flags_test.txt.test|modules/check/test/(failure|success|unavailable).mlir.test\n\nAll 4 tests pass on the internal shell, matching the baseline before the\nchange. The three modules/check tests are plain pipelines and needed no\nedits.\n\nOne thing I checked: rewriting those lines could have made them stop\nrunning while still going green. I broke an expected UNKNOWN-FLAG\npattern on purpose, confirmed the test failed, then put it back.\n\nVerified on macOS/arm64 only - relying on CI for Linux and Windows.\n\nAssisted by: Claude Code\n\nSigned-off-by: Zohaib Shah \u003czohaib.shah.2047@gmail.com\u003e\nCo-authored-by: Zohaib Shah \u003czohaib.shah.2047@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e3a4e0d7758940d81d5aee15bb039e0ebc0b40d",
      "old_mode": 33188,
      "old_path": "runtime/lit.cfg.py",
      "new_id": "787cae0bfea3c137c0d5dc9651f129e30a432d2b",
      "new_mode": 33188,
      "new_path": "runtime/lit.cfg.py"
    },
    {
      "type": "modify",
      "old_id": "078fc4553756dd8de2ab7c80ff30101e6a681c6f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/tooling/BUILD.bazel",
      "new_id": "3777fc3a6378ae905218c84574cd66329b292042",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/tooling/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "2aa398b5d65f59357c6794743745ee0f3d387265",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/tooling/CMakeLists.txt",
      "new_id": "04d47a0afe82153f708a01c69a4159692d56ee2e",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/tooling/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "2fb0ac98e17a1983cdc2c4afb0118b5a9e63bbe2",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/tooling/flags_test.txt",
      "new_id": "82113b29eb935de3ccb23b72a595b3d470de2bf4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/tooling/flags_test.txt"
    }
  ]
}
