awesome/spec
Uli Schlachter b75f374d9c Fix sporadic test failure due to lgi
With version 2.0rc5, Busted started cleaning up between tests more thoroughly.
The result was that it managed to unload and reload lgi. However, the C part of
lgi is not safe to be reloaded. This caused sporadic errors in the test suite
runs.

Work around this via a helper script that is run before Busted starts running
tests. When we load lgi in this helper script, it is loaded before Busted starts
saving and restoring everything and thus lgi won't ever be unloaded.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-07-29 21:31:47 +02:00
..
awful spec: fix "require" statements for busted 2.0.rc6 2015-02-19 12:13:53 +01:00
gears Add a generic cache system as gears.cache 2015-07-25 15:07:47 +02:00
wibox Use gears.cache to replace some other caches 2015-07-25 15:08:00 +02:00
preload.lua Fix sporadic test failure due to lgi 2015-07-29 21:31:47 +02:00