mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08:00
0a33701558
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23249>
21 lines
477 B
Bash
Executable File
21 lines
477 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
if [ -z "$VK_DRIVER" ]; then
|
|
echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run'
|
|
exit 1
|
|
fi
|
|
|
|
INSTALL=$PWD/install
|
|
|
|
# Set up the driver environment.
|
|
export LD_LIBRARY_PATH="$INSTALL/lib/"
|
|
export VK_ICD_FILENAMES="$INSTALL/share/vulkan/icd.d/${VK_DRIVER}_icd.x86_64.json"
|
|
|
|
# To store Fossilize logs on failure.
|
|
RESULTS="$PWD/results"
|
|
mkdir -p results
|
|
|
|
"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml" "$RESULTS"
|