aboutsummaryrefslogtreecommitdiff
path: root/busted/outputHandlers/nvim.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-08-28 22:13:34 +0200
committerGitHub <noreply@github.com>2018-08-28 22:13:34 +0200
commitacdede50cebf7d247e55356be828ebaba43c0d3d (patch)
tree271f6fcad0ef4ae10f995517a15b2712bbf293e9 /busted/outputHandlers/nvim.lua
parent5a1c93584fcce86b1e45b7f96ffd93bdc9f80570 (diff)
downloadrneovim-acdede50cebf7d247e55356be828ebaba43c0d3d.tar.gz
rneovim-acdede50cebf7d247e55356be828ebaba43c0d3d.tar.bz2
rneovim-acdede50cebf7d247e55356be828ebaba43c0d3d.zip
test: Dump $NVIM_LOG_FILE contents (#8926)
Do this at the test-framework level instead of CI (Travis) scripts. Then it works for QuickBuild and AppVeyor. ref eb6dd3e42dc38460e8624dc5faef894e21c6aa26
Diffstat (limited to 'busted/outputHandlers/nvim.lua')
-rw-r--r--busted/outputHandlers/nvim.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/busted/outputHandlers/nvim.lua b/busted/outputHandlers/nvim.lua
index b612ead070..d137300a7e 100644
--- a/busted/outputHandlers/nvim.lua
+++ b/busted/outputHandlers/nvim.lua
@@ -1,6 +1,7 @@
local s = require 'say'
local pretty = require 'pl.pretty'
local term = require 'term'
+local global_helpers = require('test.helpers')
local colors
@@ -200,6 +201,7 @@ return function(options)
local tests = (testCount == 1 and 'test' or 'tests')
local files = (fileCount == 1 and 'file' or 'files')
io.write(globalTeardown)
+ io.write(global_helpers.read_nvim_log())
io.write(suiteEndString:format(testCount, tests, fileCount, files, elapsedTime_ms))
io.write(getSummaryString())
io.flush()