diff options
| author | ZyX <kp-pav@yandex.ru> | 2017-11-26 15:54:03 +0300 | 
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2017-11-26 15:54:03 +0300 | 
| commit | b9c78130587e42ca3b6417b47fb739a166da8eb7 (patch) | |
| tree | 142cf7dd0a87dfb32a20838e7683dd1980e4b3e7 /test/helpers.lua | |
| parent | 05a3c12118a6dae0ac8f3603f9ee4d9fd9450cce (diff) | |
| parent | 207b7ca4bc16d52641eaa5244eef25a0dba91dbc (diff) | |
| download | rneovim-b9c78130587e42ca3b6417b47fb739a166da8eb7.tar.gz rneovim-b9c78130587e42ca3b6417b47fb739a166da8eb7.tar.bz2 rneovim-b9c78130587e42ca3b6417b47fb739a166da8eb7.zip  | |
Merge branch 'master' into expression-parser
Diffstat (limited to 'test/helpers.lua')
| -rw-r--r-- | test/helpers.lua | 17 | 
1 files changed, 2 insertions, 15 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index cef05046d8..3ec4aa511f 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -225,21 +225,8 @@ local function check_cores(app, force)      local esigns = ('='):rep(len / 2)      out:write(('\n%s Core file %s %s\n'):format(esigns, core, esigns))      out:flush() -    local pipe = io.popen( -        db_cmd:gsub('%$_NVIM_TEST_APP', app):gsub('%$_NVIM_TEST_CORE', core) -        .. ' 2>&1', 'r') -    if pipe then -      local bt = pipe:read('*a') -      if bt then -        out:write(bt) -        out:write('\n') -      else -        out:write('Failed to read from the pipe\n') -      end -    else -      out:write('Failed to create pipe\n') -    end -    out:flush() +    os.execute(db_cmd:gsub('%$_NVIM_TEST_APP', app):gsub('%$_NVIM_TEST_CORE', core) .. ' 2>&1') +    out:write('\n')      found_cores = found_cores + 1      os.remove(core)    end  | 
