chore: fix tests

This commit is contained in:
Leonardo de Moura 2019-11-22 08:03:22 -08:00
parent e4cc56a6ad
commit cff6a1d117
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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);

View file

@ -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