ci: always make sure the results dir is created, not just when changing its path

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
This commit is contained in:
Eric Engestrom 2025-06-27 19:04:04 +02:00 committed by Marge Bot
parent 1866a1b36f
commit 76c9b277e4

View file

@ -131,8 +131,8 @@ export -f _error_msg
if [ -z "${RESULTS_DIR:-}" ]; then
export RESULTS_DIR="${PWD%/}/results"
rm -rf "${RESULTS_DIR}"
mkdir -p "${RESULTS_DIR}"
fi
mkdir -p "${RESULTS_DIR}"
function error {
# we force the following to be not in a section