feat(tests/lean): include standard error in the expected output

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-10 12:52:57 -08:00
parent e0eeb7c8d5
commit 6b1b6c7bd1
6 changed files with 29 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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