Skip to content

Conversation

@maxwell3025
Copy link
Contributor

Currently, running tests locally as described in dev.md works at most one time.
In subsequent runs, the user's local elan installation already has the test and build toolchains installed.
This causes elan toolchain install leanprover/lean4:x-y-z to fail with the message

error: 'leanprover/lean4:x-y-z' is already installed

This PR makes the assertion succeed if the ...is already installed error is printed, even if the exit code indicates failure.
This allows the test suit to be run multiple times locally.

@maxwell3025 maxwell3025 marked this pull request as ready for review December 11, 2025 03:37
@mhuisi
Copy link
Collaborator

mhuisi commented Dec 16, 2025

Thanks! Rebasing your branch to master should resolve the CI error.

@mhuisi mhuisi merged commit 744957c into leanprover:master Dec 18, 2025
2 checks passed
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.

2 participants