xref: /third_party/mesa3d/.gitlab-ci/fossilize-runner.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/.gitlab-ci/
1bf215546Sopenharmony_ci#!/bin/sh
2bf215546Sopenharmony_ci
3bf215546Sopenharmony_ciset -ex
4bf215546Sopenharmony_ci
5bf215546Sopenharmony_ciif [ -z "$VK_DRIVER" ]; then
6bf215546Sopenharmony_ci   echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run'
7bf215546Sopenharmony_ci   exit 1
8bf215546Sopenharmony_cifi
9bf215546Sopenharmony_ci
10bf215546Sopenharmony_ciINSTALL=`pwd`/install
11bf215546Sopenharmony_ci
12bf215546Sopenharmony_ci# Set up the driver environment.
13bf215546Sopenharmony_ciexport LD_LIBRARY_PATH=`pwd`/install/lib/
14bf215546Sopenharmony_ciexport VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json
15bf215546Sopenharmony_ci
16bf215546Sopenharmony_ci# To store Fossilize logs on failure.
17bf215546Sopenharmony_ciRESULTS=`pwd`/results
18bf215546Sopenharmony_cimkdir -p results
19bf215546Sopenharmony_ci
20bf215546Sopenharmony_ci"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml" "$RESULTS"
21

Indexes created Thu Nov 07 10:32:03 CST 2024