Skip to content

Commit 6a03bcc

Browse files
committed
fix(test): Detect more core filenames
1 parent ce9b584 commit 6a03bcc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ci/common/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ check_core_dumps() {
3434
cores="$(find /cores/ -type f -print)"
3535
local _sudo='sudo'
3636
else
37-
cores="$(find ./ -type f -name 'core.*' -print)"
37+
cores="$(find ./ -type f \( -name 'core.*' -o -name core -o -name nvim.core \) -print)"
3838
local _sudo=
3939
fi
4040

test/helpers.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,11 @@ function module.check_cores(app, force)
365365
db_cmd = lldb_db_cmd
366366
else
367367
initial_path = '.'
368-
re = '/core[^/]*$'
368+
if 'freebsd' == module.uname() then
369+
re = '/nvim.core$'
370+
else
371+
re = '/core[^/]*$'
372+
end
369373
exc_re = { '^/%.deps$', '^/%'..deps_prefix()..'$', local_tmpdir, '^/%node_modules$' }
370374
db_cmd = gdb_db_cmd
371375
random_skip = true

0 commit comments

Comments
 (0)