test: refine lake/tests/shake (#12374)
This commit is contained in:
parent
ae79d14d27
commit
bbf72b9681
3 changed files with 3 additions and 0 deletions
|
|
@ -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).*")
|
||||
|
|
|
|||
1
tests/lake/tests/shake/input/lean-toolchain
Normal file
1
tests/lake/tests/shake/input/lean-toolchain
Normal file
|
|
@ -0,0 +1 @@
|
|||
lean4
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue