aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-04-03 00:15:51 -0400
committerJames McCoy <jamessan@jamessan.com>2021-04-08 08:13:39 -0400
commit6a03bcc3c2f65f376b14d2dbef6ade8fc483bf26 (patch)
tree2732f968d72621e2b02cf02e861cad3f1d669f11 /test/helpers.lua
parentce9b5848f9b5cec55997844ec54e8d4179391452 (diff)
downloadrneovim-6a03bcc3c2f65f376b14d2dbef6ade8fc483bf26.tar.gz
rneovim-6a03bcc3c2f65f376b14d2dbef6ade8fc483bf26.tar.bz2
rneovim-6a03bcc3c2f65f376b14d2dbef6ade8fc483bf26.zip
fix(test): Detect more core filenames
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 8dbd82cb8c..12d9f19187 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -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