Mesa (master): gitlab-ci: update deqp build so we can generate xml
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 22 22:06:40 UTC 2019
Module: Mesa
Branch: master
Commit: 5fa397a0d9067e864d29cd265226d88e919d7096
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fa397a0d9067e864d29cd265226d88e919d7096
Author: Rob Clark <robdclark at chromium.org>
Date: Fri Nov 15 10:15:32 2019 -0800
gitlab-ci: update deqp build so we can generate xml
Update the deqp build to preserve testlog-to-xml and stylesheets, so
deqp runner can extract .qpa for failed/flaked tests, and convert to
xml. With this, will be able to browse output from failed tests
directly from the artifacts.
The main motiviation is to give better visibility into what happens with
flaked tests, when it is difficult/impossible to reproduce the flake
locally (ie. when it happens once out of N million tests). But this
should also make it easier to debug regressions that a MR triggers,
especially when it is on hw that you don't have.
Signed-off-by: Rob Clark <robdclark at chromium.org>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
---
.gitlab-ci/build-deqp.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci/build-deqp.sh b/.gitlab-ci/build-deqp.sh
index b1fa4af8eb0..7e4d894f261 100644
--- a/.gitlab-ci/build-deqp.sh
+++ b/.gitlab-ci/build-deqp.sh
@@ -21,6 +21,10 @@ sed -i '/libgbm/d' targets/surfaceless/surfaceless.cmake
python3 external/fetch_sources.py --insecure
mkdir -p /deqp
+
+# Save the testlog stylesheets:
+cp doc/testlog-stylesheet/testlog.{css,xsl} /deqp
+
cd /deqp
cmake -G Ninja \
-DDEQP_TARGET=surfaceless \
@@ -36,9 +40,15 @@ for gles in gles2 gles3 gles31; do
/deqp/mustpass/$gles-master.txt
done
+# Save *some* executor utils, but otherwise strip things down
+# to reduct deqp build size:
+mkdir /deqp/executor.save
+cp /deqp/executor/testlog-to-* /deqp/executor.save
+rm -rf /deqp/executor
+mv /deqp/executor.save /deqp/executor
+
rm -rf /deqp/external
rm -rf /deqp/modules/internal
-rm -rf /deqp/executor
rm -rf /deqp/execserver
rm -rf /deqp/modules/egl
rm -rf /deqp/framework
More information about the mesa-commit
mailing list