fix(tests/lean/interactive): test driver (to avoid discrepancy between Win and Linux version)

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-06 17:03:12 -08:00
parent caea19dcf0
commit a75d05fdb4
16 changed files with 2 additions and 16 deletions

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Set: pp::colors

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proved: T1

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proved: T1

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Error (line: 4, pos: 8) invalid definition, identifier expected

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Assumed: magic

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Assumed: q

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Set: tactic::proof_state::goal_names

View file

@ -1,4 +1,3 @@
Type Ctrl-D or 'Exit.' to exit or 'Help.' for help.
# Set: pp::colors
Set: pp::unicode
Proof state:

View file

@ -13,7 +13,7 @@ fi
NUM_ERRORS=0
for f in `ls *.lean`; do
echo "-- testing $f"
cat config.lean $f | $LEAN --lean | tail -n +2 > $f.produced.out
cat config.lean $f | $LEAN --lean | tail -n +3 > $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"
cat config.lean $f | $LEAN --lean | tail -n +2 > $f.produced.out
cat config.lean $f | $LEAN --lean | tail -n +3 > $f.produced.out
if test -f $f.expected.out; then
if diff $f.produced.out $f.expected.out; then
echo "-- checked"