mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-03 23:24:17 +08:00
ci/build-deqp: print more detailed information about what deqp version is running
`git describe` tells you that you have N patches on top of tag T, but not what these patches are, and the commit hash is useless as it is only valid during the container build. Replace this with: - the tag that we are checking out - the list of patches applied on top of it Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26013>
This commit is contained in:
parent
124b4097f3
commit
37970fa703
@ -23,6 +23,8 @@ pushd /VK-GL-CTS
|
||||
|
||||
mkdir -p /deqp
|
||||
|
||||
echo "dEQP base version $DEQP_VERSION" > /deqp/version-log
|
||||
|
||||
# Patches to VulkanCTS may come from commits in their repo (listed in
|
||||
# cts_commits_to_backport) or patch files stored in our repo (in the patch
|
||||
# directory `$OLDPWD/.gitlab-ci/container/patches/` listed in cts_patch_files).
|
||||
@ -52,6 +54,9 @@ do
|
||||
git am < $OLDPWD/.gitlab-ci/container/patches/$patch
|
||||
done
|
||||
|
||||
echo "The following local patches are applied on top:" >> /deqp/version-log
|
||||
git log --reverse --oneline $DEQP_VERSION.. --format=%s | sed 's/^/- /' >> /deqp/version-log
|
||||
|
||||
# --insecure is due to SSL cert failures hitting sourceforge for zlib and
|
||||
# libpng (sigh). The archives get their checksums checked anyway, and git
|
||||
# always goes through ssh or https.
|
||||
@ -91,8 +96,6 @@ if [ "${DEQP_TARGET}" = 'android' ]; then
|
||||
mv /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-android
|
||||
fi
|
||||
|
||||
git -C /VK-GL-CTS describe --long > /deqp/version
|
||||
|
||||
# Copy out the mustpass lists we want.
|
||||
mkdir /deqp/mustpass
|
||||
for mustpass in $(< /VK-GL-CTS/external/vulkancts/mustpass/main/vk-default.txt) ; do
|
||||
|
@ -166,7 +166,7 @@ fi
|
||||
|
||||
uncollapsed_section_switch deqp "deqp: deqp-runner"
|
||||
|
||||
echo "deqp $(cat /deqp/version)"
|
||||
cat /deqp/version-log
|
||||
|
||||
set +e
|
||||
if [ -z "$DEQP_SUITE" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user