feat(tests/lean): include standard error in the expected output
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
e0eeb7c8d5
commit
6b1b6c7bd1
6 changed files with 29 additions and 2 deletions
|
@ -4,3 +4,8 @@
|
|||
Assumed: g
|
||||
Assumed: p
|
||||
Assumed: h
|
||||
The denotation(s) for the existing notation:
|
||||
Infix ++
|
||||
have been replaced with the new denotation:
|
||||
h::explicit
|
||||
because they conflict on how implicit arguments are used.
|
||||
|
|
|
@ -5,3 +5,8 @@
|
|||
Assumed: h
|
||||
Assumed: p
|
||||
Assumed: p2
|
||||
The denotation(s) for the existing notation:
|
||||
Infix ++
|
||||
have been replaced with the new denotation:
|
||||
p2::explicit
|
||||
because they conflict on how implicit arguments are used.
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
Importing file 'simple.lean'
|
||||
Assumed: x
|
||||
Assumed: y
|
||||
Module 'simple.lean' has already been imported
|
||||
Importing file 'simple.lean'
|
||||
Assumed: x
|
||||
Assumed: y
|
||||
Module 'simple.lean' has already been imported
|
||||
x + y : ℤ
|
||||
Assumed: z
|
||||
z : ℤ
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
Set: pp::colors
|
||||
Set: pp::unicode
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ a ∧ b
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ a
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ b
|
||||
Proved: T
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ c
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ a ∧ b
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ a ∧ b
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ c
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ b
|
||||
Proof state:
|
||||
H::1::1 : b, H::1::2 : c, H : a, a : Bool, b : Bool, c : Bool ⊢ b
|
||||
Proved: T2
|
||||
|
|
|
@ -13,7 +13,7 @@ fi
|
|||
NUM_ERRORS=0
|
||||
for f in `ls *.lean`; do
|
||||
echo "-- testing $f"
|
||||
$LEAN config.lean $f > $f.produced.out
|
||||
$LEAN config.lean $f &> $f.produced.out
|
||||
if test -f $f.expected.out; then
|
||||
if diff $f.produced.out $f.expected.out; then
|
||||
echo "-- checked"
|
||||
|
|
|
@ -12,7 +12,7 @@ else
|
|||
fi
|
||||
f=$2
|
||||
echo "-- testing $f"
|
||||
$LEAN config.lean $f > $f.produced.out
|
||||
$LEAN config.lean $f &> $f.produced.out
|
||||
if test -f $f.expected.out; then
|
||||
if diff $f.produced.out $f.expected.out; then
|
||||
echo "-- checked"
|
||||
|
|
Loading…
Reference in a new issue