ci: Remove any existing results directory before running piglit

A pre-existing results directory (from a previous job) could cause a
spurious failure, see e.g.
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/4410206

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6601>
This commit is contained in:
Michel Dänzer
2020-09-04 17:31:00 +02:00
committed by Marge Bot
parent 013a2b123d
commit 11bd64bdec

View File

@@ -5,6 +5,7 @@ set -o xtrace
VERSION=`cat install/VERSION`
rm -rf results
cd /piglit
PIGLIT_OPTIONS=$(echo $PIGLIT_OPTIONS | head -n 1)