aboutsummaryrefslogtreecommitdiff
path: root/test/unit/preprocess.lua
Commit message (Collapse)AuthorAge
* refactor: fix headers with IWYUdundargoc2023-11-28
|
* refactor(unit): add type annotationsLewis Russell2023-04-14
|
* test: replace lfs with luv and vim.fsdundargoc2023-04-04
| | | | | | test: replace lfs with luv luv already pretty much does everything lfs does, so this duplication of dependencies isn't needed.
* Revert "tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)"James McCoy2021-08-16
| | | | | | | This reverts commit ed11721b6bb36042ab065b5045c8eb01115b8902. It broke multiple 32-bit builds and isn't actually required for building in a true x86 32-bit environment.
* tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)Daniel Hahler2019-09-22
|
* 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
|
* buffer: Hide one of the asserts from lua parserZyX2017-02-25
|
* unittest: Filter out standard defines so that they do not spam stderr (#6113)Nikolai Aleksandrovich Pavlov2017-02-15
|
* unittest,memory: Fix testsZyX2017-01-07
|
* unittest: Fix linter errorsZyX2017-01-03
|
* unittest: Refactor preprocess.luaZyX2017-01-03
| | | | | | Keeps arguments separated and not joined as a single string as long as possible. Abstracts away additional arguments so that Gcc:preprocess should work for compilers with different conventions should they be supported.
* unittest: Move nil checks to Gcc:preprocessZyX2017-01-03
|
* unittest: Record previous defines in another placeZyX2017-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.
* unittest: Allow multiple indirect includesZyX2017-01-03
| | | | | | | | | | Works by saving all preprocessor defines and reusing them on each run. This also saves NVIM_HEADER_H defines. Saving other defines is needed for defines like `Map(foo, bar)` which are sometimes used to declare types or functions. Saving types or function declarations is not needed because they are recorded as luajit state. Fixes #5857
* Tests: make unit tests work on macOS SierraMarco Hinz2016-12-29
| | | | Fixes #5455.
* test/unit: clean up according to luacheckMarco Hinz2015-11-23
|
* unittests: define _Thread_local to be nothingJohn Szakmeister2015-02-09
| | | | | This helps the LuaJIT ffi module to parse the header correctly. Otherwise, the whole suite of tests fail.
* unit tests: avoid global scope; add missing cimportsJustin M. Keyes2014-09-11
| | | | temporarily comment out call to vim_deltempdir() to avoid segfault
* unittest: convert preprocess.moon to luaThiago de Arruda2014-08-31