chore(build): include incorrect output in the logs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
06c004aa75
commit
87775cbc07
3 changed files with 6 additions and 2 deletions
|
@ -13,6 +13,7 @@ if $LEANLUA $f.lua > $f.produced.out; then
|
|||
echo "-- worked"
|
||||
exit 0
|
||||
else
|
||||
echo "ERROR executing $f.lua, produced output is at $f.produced.out"
|
||||
echo "ERROR executing $f.lua, produced output:"
|
||||
cat $f.produced.out
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -24,6 +24,8 @@ if test -f $f.expected.out; then
|
|||
if diff $f.produced.out $f.expected.out; then
|
||||
echo "-- mismath was fixed"
|
||||
fi
|
||||
else
|
||||
diff $f.produced.out $f.expected.out
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -11,6 +11,7 @@ if $LEANLUA util.lua $f > $f.produced.out; then
|
|||
echo "-- worked"
|
||||
exit 0
|
||||
else
|
||||
echo "ERROR executing $f, produced output is at $f.produced.out"
|
||||
echo "ERROR executing $f, produced output:"
|
||||
cat $f.produced.out
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue