Ingo Bürk
b9b1a60b5d
Fix segfault when calling "i3 -C".
...
Commit 287a0b4
introduced a segfault when validating the i3 config
as the root_screen will not be set in this case, causing a null
pointer dereference.
fixes #2144
2016-01-05 22:50:38 -05:00
Tony Crisci
e5317fc4e9
testcases: dont run valgrind verbose
2015-03-23 13:03:57 -04:00
Tony Crisci
9b03be644f
Add valgrind suppression file to testcases
...
The suppression file makes valgrind output more readable by hiding
reports of memory leaks for GObject-related initialization functions in
Pango and Cairo.
2014-03-10 17:37:41 +01:00
Michael Stapelberg
7f0065e1b1
tests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG)
2013-02-15 16:41:28 +01:00
Quentin Glidic
783fd66b58
complete-run: Unset I3SOCK
2012-11-07 13:40:51 +01:00
Michael Stapelberg
077e021e26
tests: implement --xtrace in complete-run.pl
2012-08-04 03:12:06 +02:00
Michael Stapelberg
efa1cada29
tests: Make i3 create its temporary files in /tmp/i3-testsuite
...
This behavior can be avoided by passing dont_create_temp_dir => 1 to
launch_with_config (or activate_i3).
This commit fixes t/159-socketpaths.t being flaky on non-systemd computers.
2012-02-07 17:38:45 -05:00
Michael Stapelberg
dd9743b272
tests: Implement multi-monitor tests using Xdmx
2011-12-26 20:48:57 +01:00
Michael Stapelberg
311b9e24df
tests: implement restart testing (actual option still missing)
2011-12-21 23:15:30 +00:00
Michael Stapelberg
87d98a128f
tests: disable SHM logging, we redirect anyways
2011-12-10 11:32:15 +00:00
Michael Stapelberg
3abd7ab073
complete-run: close all fds except for 0, 1, 2
...
running in a VIM subshell leads to one more fd, for example
2011-11-20 10:51:21 +00:00
Michael Stapelberg
b0ee2dfd32
complete-run: close the old socket fd
2011-11-20 10:24:13 +00:00
Michael Stapelberg
b6e859787e
clarify comments about socket activation (Thanks mxf)
2011-11-16 23:14:57 +00:00
Michael Stapelberg
3665f3e755
tests: Bugfix: Fix socket activation (see comment)
2011-11-16 21:41:00 +00:00
Michael Stapelberg
77a9e4b18f
complete-run: implement --strace, make --valgrind log to test-specific file
2011-11-15 23:30:17 +00:00
Michael Stapelberg
9cbf34ac14
lib/SocketActivation: Bugfix: remove old code which leaks the socket file descriptor to i3
2011-11-15 19:54:03 +00:00
Michael Stapelberg
31b01798dd
lib/SocketActivation: don’t make POSIX export everything (Thanks mxf)
2011-11-07 23:45:28 +00:00
Michael Stapelberg
afc488021f
complete-run.pl: automatically start Xdummy instances unless -d is specified
...
This makes running the testsuite incredibly easy:
$ ./complete-run.pl
:)
2011-11-07 23:04:45 +00:00
Michael Stapelberg
c75cc525f7
lib/SocketActivation: use single quotes (for consistency)
2011-11-07 20:54:33 +00:00
Michael Stapelberg
1c0d69d4e6
complete-run: implement --valgrind
2011-11-07 20:53:49 +00:00
Michael Stapelberg
af6f8ca7c2
complete-run: clear the DESKTOP_STARTUP_ID environment variable before starting i3
2011-10-25 22:21:59 +01:00
Michael Stapelberg
ab2d96ba48
tests: modify $PATH so that it prefers the compiled versions of everything in ../
2011-10-20 19:02:08 +01:00
Michael Stapelberg
bf33c8d7c9
tests: SocketActivation: append to the logfile, more comments
2011-10-04 23:31:33 +01:00
Michael Stapelberg
c8d42fbabe
tests: SocketActivation: only close() and dup2() if fileno(socket) != 3
2011-10-04 23:31:06 +01:00
Michael Stapelberg
6c7c4d52d0
tests: Refactor the socket activation into lib/SocketActivation.pm
2011-10-04 23:30:30 +01:00