Home
last modified time | relevance | path

Searched refs:xdg_runtime_dir (Results 1 – 2 of 2) sorted by relevance

/external/wayland/tests/
Dsocket-test.c95 const char *xdg_runtime_dir; in TEST() local
100 xdg_runtime_dir = require_xdg_runtime_dir(); in TEST()
116 xdg_runtime_dir, name); in TEST()
138 const char *xdg_runtime_dir; in TEST() local
143 xdg_runtime_dir = require_xdg_runtime_dir(); in TEST()
153 "%s/%s", xdg_runtime_dir, name); in TEST()
Dtest-runner.c224 char xdg_runtime_dir[PATH_MAX]; in set_xdg_runtime_dir() local
229 assert((snprintf(xdg_runtime_dir, PATH_MAX, "%s/wayland-tests-XXXXXX", in set_xdg_runtime_dir()
233 assert(mkdtemp(xdg_runtime_dir) && "test error: mkdtemp failed"); in set_xdg_runtime_dir()
234 if (mkdir(xdg_runtime_dir, 0700) == -1) in set_xdg_runtime_dir()
240 if (setenv("XDG_RUNTIME_DIR", xdg_runtime_dir, 1) == -1) { in set_xdg_runtime_dir()