aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-13 22:07:22 +0800
committerGitHub <noreply@github.com>2022-03-13 22:07:22 +0800
commit4ede2ea4b2e9cd61fb7e634fa35e6a500816be19 (patch)
tree119b9ea8083e5a685f71b517d5497c9ebcf4c6f3
parentc45644f9946d4e70a1dfe10d15309cbea69cba46 (diff)
downloadrneovim-4ede2ea4b2e9cd61fb7e634fa35e6a500816be19.tar.gz
rneovim-4ede2ea4b2e9cd61fb7e634fa35e6a500816be19.tar.bz2
rneovim-4ede2ea4b2e9cd61fb7e634fa35e6a500816be19.zip
test: fix runnvim.sh (#17690)
-rw-r--r--ci/common/suite.sh1
-rwxr-xr-xsrc/nvim/testdir/runnvim.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/ci/common/suite.sh b/ci/common/suite.sh
index c0c470dce1..0320ac15c3 100644
--- 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
index 72d88f9f93..322265737a 100755
--- 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"