aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-14 21:43:01 +0100
committerGitHub <noreply@github.com>2017-02-14 21:43:01 +0100
commit2a50ff7e2fa724fc748068ba19012239886b74dd (patch)
tree4379107af2737cb9531a9aff4db1cb8481b36561 /test/functional/helpers.lua
parenteaf9caaf43516366e8d8aa44185f13079649ac59 (diff)
parent943531cf9e99835a319f805a012e0e65c3499a2d (diff)
downloadrneovim-2a50ff7e2fa724fc748068ba19012239886b74dd.tar.gz
rneovim-2a50ff7e2fa724fc748068ba19012239886b74dd.tar.bz2
rneovim-2a50ff7e2fa724fc748068ba19012239886b74dd.zip
Merge #6108 from ZyX-I/pr-5678
Better core dumps checking
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 4db658d98c..53cbf8d4a1 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -9,6 +9,7 @@ local TcpStream = require('nvim.tcp_stream')
local SocketStream = require('nvim.socket_stream')
local ChildProcessStream = require('nvim.child_process_stream')
+local check_cores = global_helpers.check_cores
local check_logs = global_helpers.check_logs
local neq = global_helpers.neq
local eq = global_helpers.eq
@@ -608,7 +609,10 @@ local M = {
return function(after_each)
if after_each then
- after_each(check_logs)
+ after_each(function()
+ check_logs()
+ check_cores('build/bin/nvim')
+ end)
end
return M
end