neovim/test/unit
John Szakmeister d8ef23849a tests: prevent busted from reloading the ffi module and others
It turns out that Busted started cleaning the environment in 2.0rc5 as a
result of Olivine-Labs/busted#62.  This, in turn, caused the ffi module
to be reloaded for each spec file, and LuaJIT doesn't appreciate it.
The net effect is an assertion error in LuaJIT.

By using the --helper feature of Busted, we can pre-load some modules
ahead of Busted and prevent it from reloading them--making LuaJIT happy
again.
2015-03-01 15:25:39 -05:00
..
os Merge pull request #1965 from jszakmeister/fix-fs-spec-test-for-freebsd 2015-02-11 19:45:26 -05:00
buffer_spec.lua unit tests: initialize everything 2014-09-11 08:58:17 +00:00
fileio_spec.lua Add tests for buffer.c and fileio.c 2014-07-22 05:28:17 -05:00
formatc.lua test: fix formatc.lua oddity on OSX/gcc 2015-01-16 21:45:00 +01:00
garray_spec.lua unit tests: avoid global scope; add missing cimports 2014-09-11 05:17:52 +00:00
helpers.lua tests: require luassert in the helpers 2015-03-01 09:00:27 -05:00
path_spec.lua unit tests: avoid global scope; add missing cimports 2014-09-11 05:17:52 +00:00
preload.lua tests: prevent busted from reloading the ffi module and others 2015-03-01 15:25:39 -05:00
preprocess.lua unittests: define _Thread_local to be nothing 2015-02-09 05:37:24 -05:00
profile_spec.lua profiling: add tests 2014-07-16 17:12:35 +02:00
set.lua unittest: convert set.moon to lua 2014-08-31 14:50:49 +02:00
tempfile_spec.lua unit tests: initialize everything 2014-09-11 08:58:17 +00:00