chore(build): include incorrect output in the logs

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-18 15:39:55 -08:00
parent 06c004aa75
commit 87775cbc07
3 changed files with 6 additions and 2 deletions

View file

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

View file

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

View file

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