diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-02-03 22:30:51 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-02-03 22:30:51 +0100 |
commit | 4fa8c66bc63851a3cbfbd4e53336c6afe3fda7e8 (patch) | |
tree | 7c2ac30d9f8c4e3c16d1baa92cff2d0749b1adf6 /test/helpers.lua | |
parent | 59fa5f4ecfa1182956f6436d441beefae8071c46 (diff) | |
download | rneovim-4fa8c66bc63851a3cbfbd4e53336c6afe3fda7e8.tar.gz rneovim-4fa8c66bc63851a3cbfbd4e53336c6afe3fda7e8.tar.bz2 rneovim-4fa8c66bc63851a3cbfbd4e53336c6afe3fda7e8.zip |
ci: only show last 100 lines of log on error
Diffstat (limited to 'test/helpers.lua')
-rw-r--r-- | test/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index 87431e4342..522714c8be 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -815,7 +815,7 @@ end function module.read_nvim_log(logfile, ci_rename) logfile = logfile or os.getenv('NVIM_LOG_FILE') or '.nvimlog' local is_ci = module.isCI() - local keep = is_ci and 999 or 10 + local keep = is_ci and 100 or 10 local lines = module.read_file_list(logfile, -keep) or {} local log = (('-'):rep(78)..'\n' ..string.format('$NVIM_LOG_FILE: %s\n', logfile) |