mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix(test): Detect more core filenames
This commit is contained in:
parent
ce9b5848f9
commit
6a03bcc3c2
@ -34,7 +34,7 @@ check_core_dumps() {
|
||||
cores="$(find /cores/ -type f -print)"
|
||||
local _sudo='sudo'
|
||||
else
|
||||
cores="$(find ./ -type f -name 'core.*' -print)"
|
||||
cores="$(find ./ -type f \( -name 'core.*' -o -name core -o -name nvim.core \) -print)"
|
||||
local _sudo=
|
||||
fi
|
||||
|
||||
|
@ -365,7 +365,11 @@ function module.check_cores(app, force)
|
||||
db_cmd = lldb_db_cmd
|
||||
else
|
||||
initial_path = '.'
|
||||
re = '/core[^/]*$'
|
||||
if 'freebsd' == module.uname() then
|
||||
re = '/nvim.core$'
|
||||
else
|
||||
re = '/core[^/]*$'
|
||||
end
|
||||
exc_re = { '^/%.deps$', '^/%'..deps_prefix()..'$', local_tmpdir, '^/%node_modules$' }
|
||||
db_cmd = gdb_db_cmd
|
||||
random_skip = true
|
||||
|
Loading…
Reference in New Issue
Block a user