432908dd26
Both the test runner and the wibox use gears.timer.delayed_call(). The test runner uses this to call steps and the wibox uses it to trigger redraws. When running under LuaCov, the Lua code becomes slow enough that the wibox didn't redraw yet when the leak check is run. This causes the check to fail, because the client is still referenced by the tasklist and thus cannot be garbage collected. Fix this by waiting one more iteration before running the leak check. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
_runner.lua | ||
_wibox_helper.lua | ||
run.sh | ||
test-benchmark.lua | ||
test-focus.lua | ||
test-leak-client.lua | ||
test-leaks.lua | ||
test-spawn-snid.lua | ||
test-spawn.lua | ||
test-urgent.lua |