ci/vkd3d: treat reading undefined variables as an error
This would've prevented the bug in the previous commit. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34639>
This commit is contained in:
committed by
Marge Bot
parent
89d4ddce0e
commit
104f21c27b
@@ -3,7 +3,7 @@
|
||||
|
||||
. "${SCRIPTS_DIR}/setup-test-env.sh"
|
||||
|
||||
set -e
|
||||
set -eu
|
||||
|
||||
comma_separated() {
|
||||
local IFS=,
|
||||
@@ -21,7 +21,7 @@ INSTALL=$(realpath -s "$PWD"/install)
|
||||
# Modifiying here directly LD_LIBRARY_PATH may cause problems when
|
||||
# using a command wrapper. Hence, we will just set it when running the
|
||||
# command.
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$INSTALL/lib/:/vkd3d-proton-tests/lib/"
|
||||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}:$INSTALL/lib/:/vkd3d-proton-tests/lib/"
|
||||
|
||||
|
||||
# Set the Vulkan driver to use.
|
||||
|
||||
Reference in New Issue
Block a user