awesome/tests
Uli Schlachter e18bece3df Make tests more reliable on "early errors"
When e.g. test-leaks.lua fails, it will cause a Lua error before starting the
test runner. This means that the test will just hang, because nothing causes
awesome to quit.

Handle this by starting a timer when the test runner is loaded and quitting
awesome in there if no test run was started yet. This only works if all tests
load the runner before doing anything that could fail, so the require("_runner")
is moved to the beginning in every test.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-03-06 10:20:45 +01:00
..
_runner.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
_wibox_helper.lua Add the right vim modeline to all lua files 2015-12-12 17:42:33 +01:00
run.sh Make the functional test runner more robust 2016-02-13 07:36:59 +01:00
test-awful-widget-watch.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-benchmark.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-focus.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-leak-client.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-leaks.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-spawn-snid.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-spawn.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-urgent.lua Fix test-urgent.lua 2016-02-15 22:09:10 +01:00