neovim/test/functional
Justin M. Keyes 975aeee537
test: avoid noise in CI logs #30264
Problem:
Since 96128a5076 the test logs have noise from tests that *expect*
failures:

    $NVIM_LOG_FILE: /tmp/cirrus-ci-build/build/.nvimlog
    (last 100 lines)
    ERR 2024-09-04T13:38:45.181 T949.28335.0/c terminfo_start:486: uv_pipe_open failed: no such device or address
    ERR 2024-09-04T13:38:45.181 T949.28335.0/c flush_buf:2527: uv_write failed: bad file descriptor
    ERR 2024-09-04T13:38:45.181 T949.28335.0/c flush_buf:2527: uv_write failed: bad file descriptor
    WRN 2024-09-04T13:43:43.294 ?.35904    server_start:173: Failed to start server: address already in use: /…/Xtest_tmpdir/…/T7159.35895.0
    WRN 2024-09-04T13:43:43.314 ?.35907    server_start:173: Failed to start server: illegal operation on a directory: /
    ERR 2024-09-04T13:43:43.332 ?.35909    socket_watcher_init:60: Host lookup failed: https://example.com

Solution:
Rewrite the test to use `vim.system()`. Set NVIM_LOG_FILE in the child
process to a "throwaway" logfile.
2024-09-05 02:39:58 -07:00
..
api fix(api): nvim_buf_get_text() crashes with large negative column #28740 2024-09-03 06:01:42 -07:00
autocmd refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
core test: tmpname(create:boolean) #30242 2024-09-03 02:18:17 -07:00
editor fix(completion): don't include <Lua function> in -complete= (#30209) 2024-09-01 07:57:09 +08:00
ex_cmds test: tmpname() can skip file creation 2024-09-02 20:19:50 +02:00
fixtures feat(lsp): vim.lsp.buf.format() supports textDocument/rangesFormatting #27323 2024-06-24 07:54:56 -07:00
legacy vim-patch:9.1.0708: Recursive window update does not account for reset skipcol (#30217) 2024-09-01 20:19:19 +08:00
lua fix(lua): allows tables with integer keys to be merged in tbl_deep_extend 2024-09-04 11:34:19 +01:00
options feat(startup): validate --listen address 2024-09-02 22:41:41 +02:00
plugin fix(lsp): handle locations exceeding line length #30253 2024-09-05 00:23:11 -07:00
provider refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
script fix(luacats): allow all types inside tuples 2024-06-01 12:56:43 +01:00
shada refactor(shada): rework msgpack decoding without msgpack-c 2024-08-05 11:12:44 +02:00
terminal fix(terminal): interrupt/got_int hangs terminal (#30056) 2024-08-20 06:23:56 +08:00
treesitter feat(treesitter)!: default to correct behavior for quantified captures (#30193) 2024-09-01 18:01:53 +00:00
ui vim-patch:9.1.0704: inserting with a count is inefficient (#30206) 2024-09-01 06:21:36 +08:00
vimscript test: avoid noise in CI logs #30264 2024-09-05 02:39:58 -07:00
example_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
preload.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testnvim.lua fix(scrollbind): properly take filler/virtual lines into account 2024-07-31 11:33:32 +01:00