Michael Stapelberg
1eb011aae1
tests: make sure to leave no tempfiles behind
2011-09-24 16:28:21 +01:00
Michael Stapelberg
c3eb9f6c45
tests: complete-run: remove debugging messages
2011-09-24 13:13:26 +01:00
Michael Stapelberg
1a438f12ed
tests: complete-run: display time i3 took for starting up
2011-09-24 13:13:09 +01:00
Michael Stapelberg
e244a75801
tests: complete_run: directly use X11::XCB instead of ::Connection
...
This saves about 0.5s wallclock time due to not starting up Moose/Mouse.
This is worthwhile when you develop a new feature and you are often invoking
complete_run for one specific test.
2011-09-24 13:09:20 +01:00
Michael Stapelberg
99168a84a9
tests: also make launch_with_config() log to LOGPATH
2011-09-18 15:35:04 +01:00
Michael Stapelberg
5524785877
testsuite: eliminate sleep, wait until i3 replies via IPC
2011-08-10 15:56:39 +02:00
Michael Stapelberg
26c1a463db
tests: keep an X11 connection open to every display, fixes races
...
Otherwise, i3 is the only client and thus the X server shuts down after i3
disconnects. Xdummy restarts an X server, but that takes some time and
therefore sometimes the next testcase was unable to connect.
2011-07-27 14:34:35 +02:00
Michael Stapelberg
4dde5bb863
testsuite: allow parallel runs. decreases the test time by 60% when using 4 displays
2011-07-25 15:37:13 +02:00
Michael Stapelberg
1bd4c983db
tests: add test for the for_window config directive, use separate config for tests
...
This test increases code coverage to 60.7%
2011-05-16 21:50:34 +02:00
Michael Stapelberg
098fc06942
tests: add --coverage-testing option to complete-run.pl
2011-05-08 20:08:35 +02:00
Michael Stapelberg
4fc26e7de0
tests: make complete-run.pl scan tests for !NO_I3_INSTANCE!, simplify code
2011-04-26 19:20:29 +02:00
Michael Stapelberg
773bc5ba6d
fix typo in testcases/complete-run.pl
2011-01-28 01:18:30 +01:00
Michael Stapelberg
0e8fdab302
disable sighandler for testsuite runs
2011-01-28 00:48:22 +01:00
Michael Stapelberg
1a2134d4c3
add testcases/complete-run.pl, a script for conveniently running the testsuite (or parts of it)
2010-11-13 17:29:20 +01:00