neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4ede2ea4b2e9cd61fb7e634fa35e6a500816be19
parent c45644f9946d4e70a1dfe10d15309cbea69cba46
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sun, 13 Mar 2022 22:07:22 +0800

test: fix runnvim.sh (#17690)


Diffstat:
Mci/common/suite.sh | 1+
Msrc/nvim/testdir/runnvim.sh | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ci/common/suite.sh b/ci/common/suite.sh @@ -14,6 +14,7 @@ fail() { local full_msg="$test_name :: $message" echo "${full_msg}" >> "${FAIL_SUMMARY_FILE}" echo "Failed: $full_msg" + FAILED=1 } ended_successfully() { diff --git a/src/nvim/testdir/runnvim.sh b/src/nvim/testdir/runnvim.sh @@ -38,7 +38,7 @@ main() {( -S runnvim.vim \ "$tlog" > "out-$tlog" 2> "err-$tlog" then - fail "$test_name" F "Nvim exited with non-zero code" + fail "$test_name" "Nvim exited with non-zero code" fi { echo "Stdout of :terminal runner" @@ -53,7 +53,7 @@ main() {( if test "$oldesttest" = 1 ; then if ! diff -q test.out "$test_name.ok" > /dev/null 2>&1 ; then if test -f test.out ; then - fail "$test_name" F "Oldest test .out file differs from .ok file" + fail "$test_name" "Oldest test .out file differs from .ok file" { echo "Diff between test.out and $test_name.ok" echo "$separator"