From: Michel Dänzer Date: Mon, 25 Nov 2019 17:42:10 +0000 (+0100) Subject: gitlab-ci: Put HTML summary in artifacts for failed piglit jobs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3b3d3bfccb4469d0dffd493dc0b5a0aae9660d1;p=mesa.git gitlab-ci: Put HTML summary in artifacts for failed piglit jobs This will make it easier to look at details of failed / skipped tests. Acked-by: Daniel Stone Reviewed-by: Eric Anholt --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cee7f05872c..6e5f6922c14 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -473,6 +473,11 @@ scons-old-llvm: .piglit-test: extends: .test + artifacts: + when: on_failure + name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" + paths: + - summary/ variables: LIBGL_ALWAYS_SOFTWARE: 1 PIGLIT_NO_WINDOW: 1 diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh index d00c7d1c367..dafac74d9f5 100755 --- a/.gitlab-ci/piglit/run.sh +++ b/.gitlab-ci/piglit/run.sh @@ -22,6 +22,8 @@ if diff -q .gitlab-ci/piglit/$PIGLIT_RESULTS.txt{.baseline,}; then exit 0 fi +./piglit summary html --exclude-details=pass $OLDPWD/summary $OLDPWD/results + echo Unexpected change in results: diff -u .gitlab-ci/piglit/$PIGLIT_RESULTS.txt{.baseline,} exit 1