summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-11-25 18:42:10 +0100
committerMichel Dänzer <[email protected]>2019-11-27 10:20:31 +0100
commita3b3d3bfccb4469d0dffd493dc0b5a0aae9660d1 (patch)
tree45a86847343e60ae762e0cd7f4474f54857b21fb
parent07c134611389ec0baea5b7fb9344fd464d96d498 (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--.gitlab-ci.yml5
-rwxr-xr-x.gitlab-ci/piglit/run.sh2
2 files changed, 7 insertions, 0 deletions
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