Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | unittests: Do gc after reporting error, not before | ZyX | 2017-12-24 |
| | | | | | Reason: test may contain cleanup at the endwhich is needed for GC to work properly, but is not done if test fails. With collectgarbage() in former position it would crash when collecting garbage. | ||
* | unittests: Remove start of trace, not end | ZyX | 2017-12-24 |
| | |||
* | unittests: Reduce memory used by vim_str2nr test | ZyX | 2017-11-30 |
| | |||
* | Merge branch 'master' into expression-parser | ZyX | 2017-11-30 |
|\ | |||
| * | unittest: Ignore _Float128 types in ffi | James McCoy | 2017-11-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with certain GCC versions, a _Float128 type is present when setting up the ffi for unit tests. ./test/unit/helpers.lua:256: declaration specifier expected near '_Float128' at line 396 /usr/bin/luajit: /usr/share/lua/5.1/busted/runner.lua:99: attempt to concatenate local 'message' (a table value) stack traceback: /usr/share/lua/5.1/busted/runner.lua:99: in function 'fn' /usr/share/lua/5.1/mediator.lua:103: in function 'publish' /usr/share/lua/5.1/busted/modules/helper_loader.lua:21: in function 'helperLoader' /usr/share/lua/5.1/busted/runner.lua:147: in function </usr/share/lua/5.1/busted/runner.lua:11> /usr/bin/busted:3: in main chunk [C]: at 0x004044a0 CMake Error at /<<PKGBUILDDIR>>/cmake/RunTests.cmake:53 (message): Running unit tests failed with error: 1. Since this is being pulled in by a dependency, not directly used by nvim, just ignore the type. Closes #7423 | ||
* | | unittests: Avoid infinite cycle somewhere because of init failure | ZyX | 2017-11-19 |
| | | |||
* | | unittests: Add a way to show some custom messages only when crashed | ZyX | 2017-11-11 |
| | | |||
* | | tests: Fix testlint errors | ZyX | 2017-11-06 |
| | | |||
* | | unittests: Free everything and check for memory leaks | ZyX | 2017-10-16 |
| | | | | | | Also improves error reporting. | ||
* | | viml/parser/expressions: Start creating expressions parser | ZyX | 2017-10-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently supported nodes: - Register as it is one of the simplest value nodes (even numbers are not that simple with that dot handling). - Plus, both unary and binary. - Parenthesis, both nesting and calling. Note regarding unit tests: it stores data for AST in highlighting in strings in place of tables because luassert fails to do a good job at representing big tables. Squashing a bunch of data into a single string simply yields more readable result. | ||
* | | unittests: Move some functions into helpers modules | ZyX | 2017-10-08 |
| | | |||
* | | unittests: Add a way to print trace on regular error | ZyX | 2017-09-29 |
|/ | |||
* | unittests: Move checking cores to check_child_err | ZyX | 2017-04-08 |
| | |||
* | unittests: Force GC, fix GC failures in typval_spec | ZyX | 2017-04-06 |
| | |||
* | unittests: Make it easier to determine on which _spec line it crashed (#6424) | Nikolai Aleksandrovich Pavlov | 2017-04-02 |
| | | | | | | Benchmarks: Before change: 17.78s user 3.48s system 94% cpu 22.525 total After change: 25.38s user 4.46s system 101% cpu 29.317 total | ||
* | unittests: Replace two environment variables with one TRACE_LEVEL | ZyX | 2017-04-01 |
| | |||
* | unittests: Fix linter error | ZyX | 2017-04-01 |
| | |||
* | unittests: Disable non-C-calls | ZyX | 2017-04-01 |
| | | | | | | | Some benchmarks: TRACE_EVERYTHING: 79.45s user 12.68s system 124% cpu 1:13.94 total (default): 30.26s user 5.30s system 89% cpu 39.663 total | ||
* | unittests: Add trace description right to the error message | ZyX | 2017-04-01 |
| | |||
* | unittests: Collect traces | ZyX | 2017-04-01 |
| | | | | | | | | | | | Some benchmarks: MAIN_CDEFS + NO_TRACE: 3.81s user 1.65s system 33% cpu 16.140 total MAIN_CDEFS: 73.61s user 10.98s system 154% cpu 54.690 total NO_TRACE: 18.49s user 4.30s system 73% cpu 30.804 total (default): 77.11s user 14.74s system 126% cpu 1:12.79 total | ||
* | unittests: Split itp implementation into multiple functions | ZyX | 2017-04-01 |
| | |||
* | unittests: Do not hang when error message is too long | ZyX | 2017-04-01 |
| | |||
* | ci: Do not hide ci directory (#6410) | Nikolai Aleksandrovich Pavlov | 2017-03-31 |
| | |||
* | unittests: Add tests for dictionary indexing | ZyX | 2017-03-29 |
| | |||
* | 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: 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: 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 |
| | |||
* | buffer: Hide one of the asserts from lua parser | ZyX | 2017-02-25 |
| | |||
* | unittest: Fix linter errors | ZyX | 2017-01-07 |
| | |||
* | unittest: Allow mocking allocator calls | ZyX | 2017-01-07 |
| | |||
* | Merge pull request #5826 from ZyX-I/fix-typval_encode | James McCoy | 2017-01-06 |
|\ | | | | | Refactor eval/typval_encode.h | ||
| * | tests: Add tests for partials dumping | ZyX | 2017-01-03 |
| | | | | | | | | | | Also fixed dumping of partials by encode_vim_to_object and added code which is able to work with partials and dictionaries to test/unit/eval/helpers.lua (mostly copied from #5119, except for partials handling). | ||
* | | unittest: Fix linter errors | ZyX | 2017-01-03 |
| | | |||
* | | unittest: Move nil checks to Gcc:preprocess | ZyX | 2017-01-03 |
| | | |||
* | | unittest: Record previous defines in another place | ZyX | 2017-01-03 |
| | | | | | | | | Previous commit made preprocess.lua know how its output will be used. This moves state to cimport, making only it know which is cleaner. |