Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | unittests: Add tv_dict_item_{add,remove} tests | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tv_dict_item_{alloc,free} tests | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tv_dict_watcher_{add,remove} tests | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Run tv_list_join tests in case it stopped failing | ZyX | 2017-03-29 | |
| | | ||||
| * | *: Fix some Windows-specific warnings | ZyX | 2017-03-29 | |
| | | | | | | | | Also fixed an error in path_fnamecmp(). | |||
| * | unittests: Add tests for tv_list_idx_of_item | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for tv_list_find*() functions | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | Additional modifications: - More `const` qualifiers in tested functions. - `tv_list_find_str()` second argument is more in-line with other `tv_list_find*()` functions. | |||
| * | eval/typval: Add tv_list_equal() tests, compare NULL lists equal | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Test tv_list_join() | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Fix tests crash | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | | | Tests crash at some point without - `after_each(collectgarbage)` right before “typval.c list copy() copies list correctly and converts items” test. - Commenting out that test. - Adding `collectgarbage()` after the test (what actually this commit does). Adding `collectgarbage()` to top-level `after_each` block right after `restore_allocators` makes running this file crash even if it is run alone. | |||
| * | eval/typval,tests: Fix extending list with itself, add tests | ZyX | 2017-03-29 | |
| | | | | | | | | | | Adds unit test for tv_list_extend and regression test for extend() VimL function. | |||
| * | unittests: Test tv_list_concat() | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Test tv_list_copy | ZyX | 2017-03-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also found some bugs: 1. var_item_copy() always fails to copy v:_null_list and v:_null_dict. Fixing this should mean fixing `deepcopy(v:_null_list)` which should’ve been, but was not listed in #4615. This also fixes `deepcopy(v:_null_dict)`. 2. var_item_copy() crashes when trying to copy NULL string with `conv != NULL`. 3. `conv` argument is ignored when copying list unless `deep` is true, but it was not reflected in documentation. 4. `tv_dict_item_alloc_len()` allocated more memory then needed. 5. typvalt2lua was not able to handle self-referencing containers. | |||
| * | unittests: Add tests for tv_list_insert*()/…append*() functions | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for tv_list_insert() | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Add tests for list watchers and list alloc/free/unref | ZyX | 2017-03-29 | |
| | | ||||
| * | unittests: Test tv_list_item_\* functions | ZyX | 2017-03-29 | |
| | | | | | | | | To check that memory is free()d correctly. | |||
| * | eval: Move copy_tv to eval/typval | ZyX | 2017-03-29 | |
| | | ||||
| * | eval: Remove eval_expr() completely | ZyX | 2017-03-29 | |
| | | ||||
| * | *: Move some dictionary functions to typval.h and use char* | ZyX | 2017-03-29 | |
| | | | | | | | | Also fixes buffer reusage in setmatches() and complete(). | |||
| * | eval: Split eval.c into smaller files | ZyX | 2017-03-29 | |
| | | ||||
| * | build: Rename NEOVIM_* to NVIM_* | Justin M. Keyes | 2017-03-27 | |
| | | ||||
* | | unittests: Add tests for new fileio functions | ZyX | 2017-03-19 | |
| | | ||||
* | | fileio,main: Do not restart syscall at EAGAIN when reading for -s | ZyX | 2017-03-19 | |
| | | ||||
* | | main: Temporary fix assertion error | ZyX | 2017-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*`. | |||
* | | tests: Fix repeated_popen_r usage, rename the function | ZyX | 2017-03-19 | |
| | | ||||
* | | tests: Fix CI failures | ZyX | 2017-03-19 | |
| | | ||||
* | | functests: Check that `-s` works as expected | ZyX | 2017-03-19 | |
|/ | ||||
* | unittests: avoid using pattern matching on file names | John Szakmeister | 2017-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. | |||
* | unittests: Fix linter error | ZyX | 2017-03-12 | |
| | ||||
* | unittests: Allow running `ffi.cdef` in the main process | ZyX | 2017-03-12 | |
| | ||||
* | unittests: Move filtering cdefs to main process | ZyX | 2017-03-12 | |
| | ||||
* | unittests: Use more adequate names for some functions | ZyX | 2017-03-12 | |
| | ||||
* | unittests: Fix linter errors | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Update test/unit/message_spec.lua | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Do not use which, add data to paths.lua.in instead | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Always close all pipes | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Do not import libnvim or headers in main process | ZyX | 2017-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 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. | |||
* | unittests: Do not run failing test at all | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Fix lint errors | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Allow failing test to fail | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Log syscalls if requested | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Use own bindings to libc syscall wrappers | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Do not use syscall library: does not work well with cimport | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Try using syscall library instead (ffi-based) | ZyX | 2017-03-11 | |
| | ||||
* | unittests: Pause garbage collector while executing tests | ZyX | 2017-03-11 | |
| | | | Temporary (?) workaround for currently failing check_alloc_log tests. | |||
* | unittests: Run tests in a separate process | ZyX | 2017-03-11 | |
| | ||||
* | vim-patch:7.4.2068 | James McCoy | 2017-03-06 | |
| | | | | | | | | | Problem: Not all arguments of trunc_string() are tested. Memory access error when running the message tests. Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run unittests with valgrind. Fix the access error. https://github.com/vim/vim/commit/b9644433d2728e99fab874e5e33147ad95d23a31 |