tests: use our own XDG_RUNTIME_DIR for tests
authorMarek Chalupa <mchqwerty@gmail.com>
Wed, 24 Sep 2014 12:07:59 +0000 (14:07 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 10 Nov 2014 12:00:56 +0000 (14:00 +0200)
commitba6b79c577e4792f35beb471a8d429475aacf3ad
treed0a4f115dcb36ac63d8fab88de891200fd2e930c
parent2097414a7c8febf89305e1945f51d7fa9972c41f
tests: use our own XDG_RUNTIME_DIR for tests

Use $XDG_RUNTIME_DIR/wayland-tests for tests. This way we won't be
messing XDG_RUNTIME_DIR and it also fixes a bug, when socket-test
failed when another compositor was running.

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/test-runner.c