ci/deqp: only compress caselists when they exist

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250>
This commit is contained in:
Eric Engestrom 2024-11-20 14:06:14 +01:00 committed by Marge Bot
parent 08e5a50921
commit e549b6fba2

View File

@ -227,16 +227,16 @@ if [ "${DEQP_TARGET}" != 'android' ]; then
/deqp/mustpass/
fi
# Compress the caselists, since Vulkan's in particular are gigantic; higher
# compression levels provide no real measurable benefit.
zstd -1 --rm /deqp/mustpass/*.txt
# Save *some* executor utils, but otherwise strip things down
# to reduct deqp build size:
mv /deqp/executor/testlog-to-* /deqp
rm -rf /deqp/executor
fi
# Compress the caselists, since Vulkan's in particular are gigantic; higher
# compression levels provide no real measurable benefit.
zstd -1 --rm /deqp/mustpass/*.txt
# Remove other mustpass files, since we saved off the ones we wanted to conventient locations above.
rm -rf /deqp/external/**/mustpass/
rm -rf /deqp/external/vulkancts/modules/vulkan/vk-main*