chore: fix tests
This commit is contained in:
parent
e4cc56a6ad
commit
cff6a1d117
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ fi
|
|||
ulimit -s 8192
|
||||
LEAN=$1
|
||||
BIN_DIR=../../bin
|
||||
export LEAN_PATH=Init=../../library/Init:Test=.
|
||||
export LEAN_PATH=Init=../../src/Init:Test=.
|
||||
if [ $# -ne 3 ]; then
|
||||
INTERACTIVE=no
|
||||
else
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ open Lean
|
|||
open Lean.IR
|
||||
|
||||
def tst : IO Unit :=
|
||||
do initSearchPath "Init=../../library/Init";
|
||||
do initSearchPath "Init=../../src/Init";
|
||||
env ← importModules [{module := `Init.Lean.Compiler.IR.Basic}];
|
||||
ctorLayout ← IO.ofExcept $ getCtorLayout env `Lean.IR.Expr.reuse;
|
||||
ctorLayout.fieldInfo.forM $ fun finfo => IO.println (format finfo);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if [ $# -ne 2 -a $# -ne 1 ]; then
|
|||
fi
|
||||
ulimit -s 8192
|
||||
BIN_DIR=../../bin
|
||||
export LEAN_PATH=Init=../../library/Init:Test=.
|
||||
export LEAN_PATH=Init=../../src/Init:Test=.
|
||||
if [ $# -ne 2 ]; then
|
||||
INTERACTIVE=no
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue