Logo
Explore Help
Sign In
IntenseFinance/neovim
3
0
Fork 0
You've already forked neovim
mirror of https://github.com/neovim/neovim.git synced 2025-02-25 18:55:25 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
d1d35c9cfcc7a3e92c4bd7d931b96ab0a06cfb90
neovim/test/functional/preload.lua

5 lines
235 B
Lua
Raw Normal View History

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 14:49:48 -05:00
-- Modules loaded here will not be cleared and reloaded by Busted.
-- Busted started doing this to help provide more isolation. See issue #62
-- for more information about this.
functests: Check logs in lua code It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail.
2016-04-24 02:53:11 +03:00
local helpers = require('test.functional.helpers')(nil)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 42ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API