aboutsummaryrefslogtreecommitdiff
path: root/.ci/common/test.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/common/test.sh')
-rw-r--r--.ci/common/test.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/.ci/common/test.sh b/.ci/common/test.sh
index 225d88e072..02d0b3a645 100644
--- a/.ci/common/test.sh
+++ b/.ci/common/test.sh
@@ -83,8 +83,9 @@ install_nvim() {
exit 1
}
+ local genvimsynf=syntax/vim/generated.vim
# Check that all runtime files were installed
- for file in doc/tags syntax/vim/generated.vim $(
+ for file in doc/tags $genvimsynf $(
cd runtime ; git ls-files | grep -e '.vim$' -e '.ps$' -e '.dict$' -e '.py$' -e '.tutor$'
) ; do
if ! test -e "${INSTALL_PREFIX}/share/nvim/runtime/$file" ; then
@@ -93,6 +94,13 @@ install_nvim() {
fi
done
+ # Check that generated syntax file has function names, #5060.
+ local gpat='syn keyword vimFuncName .*eval'
+ if ! grep -q "$gpat" $genvimsynf ; then
+ echo "It appears that $genvimsynf does not contain $gpat."
+ exit 1
+ fi
+
for file in $(
cd runtime ; git ls-files | grep -e '.awk$' -e '.sh$' -e '.bat$'
) ; do