test: add test for leanprover/lake#174
This commit is contained in:
parent
1292819f64
commit
abdbc39403
6 changed files with 29 additions and 2 deletions
12
Makefile
12
Makefile
|
|
@ -12,7 +12,8 @@ test: check-lake test-ci test-bootstrap test-bootstrapped
|
|||
|
||||
test-ci: test-tests test-examples
|
||||
|
||||
test-tests: test-44 test-49 test-50 test-62 test-75 test-102 test-104 test-116\
|
||||
test-tests:\
|
||||
test-44 test-49 test-50 test-62 test-75 test-102 test-104 test-116 test-174\
|
||||
test-manifest test-meta
|
||||
|
||||
test-examples: test-init test-hello test-deps\
|
||||
|
|
@ -22,7 +23,8 @@ test-bootstrapped: test-boostrapped-hello
|
|||
|
||||
clean: clean-tests clean-examples clean-build
|
||||
|
||||
clean-tests: clean-44 clean-62 clean-102 clean-104 clean-116 clean-manifest
|
||||
clean-tests:\
|
||||
clean-44 clean-62 clean-102 clean-104 clean-116 clean-174 clean-manifest
|
||||
|
||||
clean-examples: clean-init clean-hello clean-deps\
|
||||
clean-git clean-ffi clean-targets clean-precompile clean-bootstrap
|
||||
|
|
@ -157,6 +159,12 @@ test-116:
|
|||
clean-116:
|
||||
cd test/116 && ./clean.sh
|
||||
|
||||
test-174:
|
||||
cd test/174 && ./test.sh
|
||||
|
||||
clean-174:
|
||||
cd test/174 && ./clean.sh
|
||||
|
||||
clean-manifest:
|
||||
cd test/manifest && ./clean.sh
|
||||
|
||||
|
|
|
|||
1
test/174/.gitignore
vendored
Normal file
1
test/174/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
1
test/174/Test/1.lean
Normal file
1
test/174/Test/1.lean
Normal file
|
|
@ -0,0 +1 @@
|
|||
#check (2 : Nat)
|
||||
1
test/174/clean.sh
Executable file
1
test/174/clean.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
rm -rf build
|
||||
10
test/174/lakefile.lean
Normal file
10
test/174/lakefile.lean
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import Lake
|
||||
|
||||
open Lake DSL
|
||||
|
||||
package test
|
||||
|
||||
@[default_target]
|
||||
lean_lib Test {
|
||||
globs := #[.submodules "Test"]
|
||||
}
|
||||
6
test/174/test.sh
Executable file
6
test/174/test.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
./clean.sh
|
||||
LAKE=${LAKE:-../../build/bin/lake}
|
||||
$LAKE build -v
|
||||
Loading…
Add table
Reference in a new issue