aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/openbsd.yml5
-rw-r--r--src/nvim/testdir/test_functions.vim2
2 files changed, 7 insertions, 0 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
index 27b165de72..1ac830e6ad 100644
--- a/.builds/openbsd.yml
+++ b/.builds/openbsd.yml
@@ -31,3 +31,8 @@ tasks:
cmake -G Ninja ..
cmake --build . --config Debug
./bin/nvim --version
+- test: |
+ export LC_CTYPE=en_US.UTF-8
+ cd neovim
+ # oldtests
+ gmake -C src/nvim/testdir NVIM_PRG=`pwd`/build/bin/nvim
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim
index fab1d7790d..b03abb5b34 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -1170,6 +1170,8 @@ func Test_libcall_libcallnr()
else
let libc = '/usr/lib/libc.so'
endif
+ elseif system('uname -s') =~ 'OpenBSD'
+ let libc = 'libc.so'
else
" On Unix, libc.so can be in various places.
" Interestingly, using an empty string for the 1st argument of libcall