test: refine lake/tests/shake (#12374)

This commit is contained in:
Sebastian Ullrich 2026-02-07 16:17:07 +01:00 committed by GitHub
parent ae79d14d27
commit bbf72b9681
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -214,6 +214,7 @@ file(
GLOB_RECURSE LEANLAKETESTS
#"${LEAN_SOURCE_DIR}/../tests/lake/tests/test.sh"
"${LEAN_SOURCE_DIR}/../tests/lake/examples/test.sh"
"${LEAN_SOURCE_DIR}/../tests/lake/tests/shake/test.sh"
)
foreach(T ${LEANLAKETESTS})
if(NOT T MATCHES ".*(lake-packages|bootstrap|toolchain|online).*")

View file

@ -0,0 +1 @@
lean4

View file

@ -21,6 +21,7 @@ match_pat 'remove.*Lib.B' produced.out
cp -r input/* .
test_run build
test_run shake --fix Main
test_run build
# Verify Main.lean matches expected
check_diff expected/Main.lean Main.lean