• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3set -ex
4
5if [ -z "$VK_DRIVER" ]; then
6   echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run'
7   exit 1
8fi
9
10INSTALL=`pwd`/install
11
12# Set up the driver environment.
13export LD_LIBRARY_PATH=`pwd`/install/lib/
14export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json
15
16# To store Fossilize logs on failure.
17RESULTS=`pwd`/results
18mkdir -p results
19
20"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml" "$RESULTS"
21