Home
last modified time | relevance | path

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

/third_party/wayland_standard/tests/
Dsocket-test.c104 const char *xdg_runtime_dir; in TEST() local
109 xdg_runtime_dir = require_xdg_runtime_dir(); in TEST()
125 xdg_runtime_dir, name); in TEST()
147 const char *xdg_runtime_dir; in TEST() local
152 xdg_runtime_dir = require_xdg_runtime_dir(); in TEST()
162 "%s/%s", xdg_runtime_dir, name); in TEST()
225 const char *xdg_runtime_dir; in TEST() local
236 xdg_runtime_dir = require_xdg_runtime_dir(); in TEST()
239 "%s/%s", xdg_runtime_dir, "wayland-absolute-0"); in TEST()
Dtest-runner.c171 char xdg_runtime_dir[PATH_MAX]; in set_xdg_runtime_dir() local
176 assert((snprintf(xdg_runtime_dir, PATH_MAX, "%s/wayland-tests-XXXXXX", in set_xdg_runtime_dir()
180 assert(mkdtemp(xdg_runtime_dir) && "test error: mkdtemp failed"); in set_xdg_runtime_dir()
181 if (mkdir(xdg_runtime_dir, 0700) == -1) in set_xdg_runtime_dir()
187 if (setenv("XDG_RUNTIME_DIR", xdg_runtime_dir, 1) == -1) { in set_xdg_runtime_dir()