aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2019-08-18 12:44:05 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-18 12:44:05 +0200
commitb7ce589cb879030b70d5b01aaa6bf1e521f5b9cb (patch)
tree36ffd5b46daffd5bb50a1d7e73db3732bf110af2
parente2ccf47b5e5e5acf19a74d928e367c7726d29ad3 (diff)
downloadrneovim-b7ce589cb879030b70d5b01aaa6bf1e521f5b9cb.tar.gz
rneovim-b7ce589cb879030b70d5b01aaa6bf1e521f5b9cb.tar.bz2
rneovim-b7ce589cb879030b70d5b01aaa6bf1e521f5b9cb.zip
CI/OpenBSD: run oldtest #10797
- Test_libcall_libcallnr: pass libc name to dlopen.
-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