Test suite shows something when kakoune exit code is not 0

This commit is contained in:
Maxime Coste 2015-05-20 14:01:28 +01:00
parent 12789938dc
commit dfd6182bbb

View File

@ -42,6 +42,10 @@ main() {
quit! quit!
" "
${test}/../src/kak out -n -u -e "$kak_commands" ${test}/../src/kak out -n -u -e "$kak_commands"
retval=$?
if (( retval != 0 )); then
echo "Kakoune returned error $retval"
fi
for expect in $test_files; do for expect in $test_files; do
if cmp -s $test/$dir/$expect $expect; then if cmp -s $test/$dir/$expect $expect; then
echo "$indent$name" | colorize green normal echo "$indent$name" | colorize green normal