Test suite shows something when kakoune exit code is not 0
This commit is contained in:
parent
12789938dc
commit
dfd6182bbb
4
test/run
4
test/run
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user