Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat: stdpath('run'), /tmp/nvim.user/ #18993 | Justin M. Keyes | 2022-06-30 |
| | | | | | | | | | | | | | | | | Problem: - Since c57f6b28d71d #8519, sockets are created in ~/.local/… but XDG spec says: "XDG_RUNTIME_DIR: Must be on the local filesystem", which implies that XDG_STATE_DIR is potentially non-local. - Not easy to inspect Nvim-created temp files (for debugging etc). Solution: - Store sockets in stdpath('run') ($XDG_RUNTIME_DIR). - Establish "/tmp/nvim.user/" as the tempdir root shared by all Nvims. - Make ok() actually useful. - Introduce assert_nolog(). closes #3517 closes #17093 | ||
* | unittests: Check core dumps in after_each, like in functests | ZyX | 2017-03-11 |
| | |||
* | unittests: Run all unit tests in their own processes | ZyX | 2017-03-11 |
| | | | | | | | | | | | | | | | Used sed -r -i -e '/ helpers =/ s/$/\nlocal itp = helpers.gen_itp(it)/; s/^(\s*)it\(/\1itp(/' test/unit/**/*_spec.lua to alter all tests. Locally they all run fine now. Reasoning: 1. General: state from one test should not affect other tests. 2. Local: travis build is failing with something which may be an output of garbage collector. This should prevent state of the garbage collector from interferring as well. | ||
* | test/unit: clean up according to luacheck | Marco Hinz | 2015-11-23 |
| | |||
* | unittest: convert users_spec.moon to lua | Thiago de Arruda | 2014-08-31 |