Mesa (master): gitlab-ci: Log the driver version that got tested.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 12 18:15:13 UTC 2019
Module: Mesa
Branch: master
Commit: 0b6b0c09f438c18b18a5f9e444d178767fb0bafb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b6b0c09f438c18b18a5f9e444d178767fb0bafb
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 26 12:57:16 2019 -0700
gitlab-ci: Log the driver version that got tested.
Sometimes you just want confirmation that dEQP really picked up the
driver we built you thought. This is not as good as one might like,
because git isn't present in the cross-build image.
Acked-by: Rob Clark <robdclark at chromium.org>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
---
.gitlab-ci/deqp-runner.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index b2a9cd40ebb..bb9c7c80d56 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -102,6 +102,13 @@ if grep -q "dEQP-.*.info.renderer" /tmp/case-list.txt; then
fi
fi
+if grep -q "dEQP-.*.info.version" /tmp/case-list.txt; then
+ # This is an ugly dependency on the .qpa format: Print 3 lines after the
+ # match, which happens to contain the result.
+ VERSION=`sed -n '/#beginTestCaseResult dEQP-.*.info.version/{n;n;n;p}' $RESULTS/results.qpa | sed -n -E "s|<Text>(.*)</Text>|\1|p"`
+ echo "Driver version tested: $VERSION"
+fi
+
if [ $DEQP_EXITCODE -ne 0 ]; then
exit $DEQP_EXITCODE
fi
More information about the mesa-commit
mailing list