Skip to content

chore(tests/integration): pin LLVM lit to 18.1.8 - #236

Merged
stanislaw merged 1 commit into
mainfrom
stanislav/pin-lit
Nov 12, 2026
Merged

stanislaw merged 1 commit into
mainfrom
stanislav/pin-lit

Conversation

@stanislaw

Copy link
Copy Markdown
Contributor

tests/integration/lit.cfg calls ShTest("0"). lit treats the string "0" as true, so the call turns on execute_external. lit 23 raises a ValueError for execute_external=True because LLVM 23 deprecates it:

ValueError: execute_external=True is deprected as of LLVM-23 and the option will be removed in LLVM-24. Please move to using the internal shell (execute_external=False). If you still need to force external execution to allow time for migration, set force_execute_external=True

CI installs the newest lit, so the integration tests fail before the first test runs. This PR pins lit to 18.1.8, as StrictDoc does. We can move the tests to the internal shell of lit later.

#234 fails on this error in CI. We will rebase it after this PR is merged.

🤖 Generated with Claude Code

tests/integration/lit.cfg calls ShTest("0"). lit treats the string "0"
as true, so the call turns on execute_external. lit 23 raises a
ValueError for execute_external=True because LLVM 23 deprecates it. CI
installs the newest lit, so the integration tests fail before the first
test runs.

StrictDoc pins lit to 18.1.8 for the same reason. We can move the tests
to the internal shell of lit later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stanislaw
stanislaw merged commit 6021dda into main Nov 12, 2026
9 checks passed
@stanislaw
stanislaw deleted the stanislav/pin-lit branch November 12, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant