Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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: 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 |
| | |||
* | profiling: add tests | Nicolas Hillegeer | 2014-07-16 |
Some functions are missing: - profile_self - profile_get_wait - profile_set_wait - profile_sub_wait |