commit | 11bd64bdecd8d00261319759767eecae68405ab1 | [log] [tgz] |
---|---|---|
author | Michel Dänzer <mdaenzer@redhat.com> | Fri Sep 04 17:31:00 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Sep 07 15:49:46 2020 +0000 |
tree | 77dbc70c0713c2336dbfc20dd04dbc5aab615d72 | |
parent | 013a2b123d75ed53af603e23a8f6fd0d6e3b5490 [diff] |
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>
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh index 32d2fcd..09ce94e0 100755 --- a/.gitlab-ci/piglit/run.sh +++ b/.gitlab-ci/piglit/run.sh
@@ -5,6 +5,7 @@ VERSION=`cat install/VERSION` +rm -rf results cd /piglit PIGLIT_OPTIONS=$(echo $PIGLIT_OPTIONS | head -n 1)