aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* fileio,main: Do not restart syscall at EAGAIN when reading for -sZyX2017-03-19
|
* main: Temporary fix assertion errorZyX2017-03-19
| | | | | This variant uses `fdopen()` which is not standard, but it fixes problem on my system. In next commit `scriptin` will use `FileDescriptor*` from os/fileio in place of `FILE*`.
* functests: Do not check stdout, it is different on WindowsZyX2017-03-19
|
* functests: Fix testlint errorsZyX2017-03-19
|
* functests: Use Neovim instance and system() in place of lua io.popenZyX2017-03-19
|
* functests: Make sure that line ending is LF and not CRLFZyX2017-03-19
|
* functests: Alter the order of checksZyX2017-03-19
| | | | Check whether `repeated_read_cmd` returned nil and did not actually run nvim or it did, but still returned nil for whatever reason.
* tests: Fix repeated_popen_r usage, rename the functionZyX2017-03-19
|
* tests: Fix CI failuresZyX2017-03-19
|
* functests: Check that `-s` works as expectedZyX2017-03-19
|
* clipboard: set v:register after startup (#5708)Björn Linse2017-03-18
| | | Fixes #5697
* test/put_spec: 2x speedup (#6294)Matthew Malcomson2017-03-18
| | | | Instead of helpers.clear() between each test, use execute('enew!') and ensure the state that matters is reset between each test.
* terminal: Support extra arguments in 'shell'. #4504Jack Bracewell2017-03-17
| | | | | | | | | | | | | Tokenize p_sh if used as default in ex_terminal(). Previously p_sh was used as the first arg in a list when calling termopen(), this would try to call an untokenized version of shell, meaning if you had an argument in 'shell': set shell=/bin/bash\ --login the command would fail. Helped-by: oni-link <knil.ino@gmail.com> Closes #3999
* Merge #6087 from justinmk/defaultsJustin M. Keyes2017-03-17
|\ | | | | defaults: 'ruler', 'showcmd', 'belloff=all'
| * defaults: 'showcmd', 'belloff', 'ruler'Justin M. Keyes2017-03-16
| | | | | | | | | | | | | | | | | | | | | | - Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
* | job-control: set CLOEXEC on pty processes. #5986Matthew Malcomson2017-03-17
|/ | | | | Before this change, new processes started with libuv prevented SIGHUP from reaching pty processes (by keeping the ptmx file descriptor open).
* test: fix the unit test build on macOS Sierra (#6300)John Szakmeister2017-03-17
| | | | We need to add the SDK includes to the preprocessing step, otherwise it will fail to resolve the system includes such as sys/stat.h and fcntl.h.
* unittests: avoid using pattern matching on file namesJohn Szakmeister2017-03-16
| | | | | | The directory name could contain special characters that trips up the matching used by find. Instead, let's just make sure that the filename starts with the directory name.
* test/termclose: Avoid indeterminism (#6281)Justin M. Keyes2017-03-15
|
* api: add detailed checks for compatibility and correct "since" valueBjörn Linse2017-03-15
|
* api: add api_level_1 fixureBjörn Linse2017-03-15
|
* Merge #6254 'vim-patch:7.4.2135,7.4.2144,7.4.2151'Justin M. Keyes2017-03-15
|\
| * vim-patch:7.4.2135lonerover2017-03-11
| | | | | | | | | | | | | | Problem: Various tiny issues. Solution: Update comments, white space, etc. https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
* | DirChanged: avoid redundant events on 'autochdir'Justin M. Keyes2017-03-12
| |
* | DirChanged: trigger when switching scopesJustin M. Keyes2017-03-12
| | | | | | | | Closes #6054
* | DirChanged: Publish _after_ updating win/tab CWD.Justin M. Keyes2017-03-12
| | | | | | | | | | | | So getcwd() works correctly during DirChanged event. Closes #6260
* | unittests: Fix linter errorZyX2017-03-12
| |
* | tests: Add description of test directory structure and test env varsZyX2017-03-12
| |
* | unittests: Allow running `ffi.cdef` in the main processZyX2017-03-12
| |
* | unittests: Move filtering cdefs to main processZyX2017-03-12
| |
* | unittests: Use more adequate names for some functionsZyX2017-03-12
| |
* | tests: Allow lfs.attributes to be NULL when traversing FSZyX2017-03-12
| |
* | unittests: Fix linter errorsZyX2017-03-11
| |
* | unittests: Update test/unit/message_spec.luaZyX2017-03-11
| |
* | unittests: Do not use which, add data to paths.lua.in insteadZyX2017-03-11
| |
* | unittests: Always close all pipesZyX2017-03-11
| |
* | unittests: Do not import libnvim or headers in main processZyX2017-03-11
| | | | | | Slows down unit tests much, but gets rid of as much preserved state as possible.
* | unittests: Check core dumps in after_each, like in functestsZyX2017-03-11
| |
* | unittests: Run all unit tests in their own processesZyX2017-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.
* | unittests: Do not run failing test at allZyX2017-03-11
| |
* | unittests: Fix lint errorsZyX2017-03-11
| |
* | unittests: Allow failing test to failZyX2017-03-11
| |
* | unittests: Log syscalls if requestedZyX2017-03-11
| |
* | unittests: Use own bindings to libc syscall wrappersZyX2017-03-11
| |
* | unittests: Do not use syscall library: does not work well with cimportZyX2017-03-11
| |
* | unittests: Try using syscall library instead (ffi-based)ZyX2017-03-11
| |
* | unittests: Pause garbage collector while executing testsZyX2017-03-11
| | | | | | Temporary (?) workaround for currently failing check_alloc_log tests.
* | unittests: Run tests in a separate processZyX2017-03-11
| |
* | test/scrollback: wiggle-room (#6256)Justin M. Keyes2017-03-11
| |
* | rplugin: Call s:LoadRemotePlugins() on startup.Justin M. Keyes2017-03-11
|/ | | | | | | | | | Dispense with the FuncUndefined/CmdUndefined quasi-optimization. If there are no rplugins, plugin/rplugin.vim takes less than 1ms. Closes #5821 Closes #6250 Helped-by: Qiming zhao <chemzqm@gmail.com>