From b16ed16d754bc7ccb56e587487f70192f54ec78c Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Thu, 8 May 2025 17:10:18 +0200 Subject: [PATCH] ci: set up XDG_RUNTIME_DIR to be under /tmp which is tmpfs Set up XDG_RUNTIME_DIR path to be under /tmp. This might improve speed as /tmp is under tmpfs while the older path might have been under NFS. Part-of: --- .gitlab-ci/setup-test-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/setup-test-env.sh b/.gitlab-ci/setup-test-env.sh index 2fcacd55b21..34fd37fc109 100644 --- a/.gitlab-ci/setup-test-env.sh +++ b/.gitlab-ci/setup-test-env.sh @@ -122,7 +122,7 @@ export -f _uncollapsed_section_switch export -f _error_msg # Freedesktop requirement (needed for Wayland) -[ -n "${XDG_RUNTIME_DIR:-}" ] || export XDG_RUNTIME_DIR="$(mktemp -p "$PWD" -d xdg-runtime-XXXXXX)" +[ -n "${XDG_RUNTIME_DIR:-}" ] || export XDG_RUNTIME_DIR="$(mktemp --tmpdir -d xdg-runtime-XXXXXX)" if [ -z "${RESULTS_DIR:-}" ]; then export RESULTS_DIR="${PWD%/}/results"